bugWeeChat - Bugs: bug #37427, leading whitespaces stripped from...

 
 

bug #37427: leading whitespaces stripped from script commands

Submitter:  R1cochet <r1cochet>
Submitted:  Sun 23 Sep 2012 12:39:43 PM UTC
   
 
Category:  scripts Severity:  3 - Normal
Item Group:  irc protocol Status:  None
Privacy:  Public Assigned to:  None
Originator Name:  Open/Closed:  Open
Release:  * 0.3.9 IRC nick:  R1cochet
* Mandatory Fields

Add a New Comment Rich Markup
   

Sun 23 Sep 2012 12:39:43 PM UTC, original submission:  

When sending a command from inside a script the leading whitespaces are stripped.

ex: $text = "    Hello World!";
    weechat::command($buffer, "/msg $nick $text");

expected output:
   <Nick>     Hello World!

gives:
   <Nick> Hello World!

R1cochet <r1cochet>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by flashcode (Updated the item)
  • -email is unavailable- added by r1cochet (Submitted the item)
  • -email is unavailable- added by r1cochet (R1cochet on freenode.#weechat)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2012-09-29 flashcode Release3.3-dev 0.3.9
    2012-09-23 r1cochet Carbon-Copy- Added -email is unavailable-

    Back to the top

    Powered by Savane 3.13-3230.
    Corresponding source code