Hi,

I just discovered that I was unable to paste some shell script snippet into a 
note. The code was something like <<if [[ "$line" == "$regex" ]]; then>>
Once I pasted the code, basket removed the brackets, resulting in <<if  
"$line" == "$regex" ; then>>

I assume this has to do with recent cross-referencing patches, as the only 
code in basket that matches "[[" is in src/tools.cpp 
Tools::crossReferenceForConversion

If you add code that treats some character sequences in a special way, you 
also need to provide some means of escaping. Another alternative is to add 
options to disable cross-referencing. Yet another alternative is to disable 
cross-referencing for notes tagged "Code".

Either way, I think inability to paste shell code into a note is a bug. Should 
I file it?

Thanks.
-- 
Nick

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Basket-devel mailing list
Basket-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/basket-devel

Reply via email to