Siouss / zen-coding

Automatically exported from code.google.com/p/zen-coding
0 stars 0 forks source link

Existing pipe characters are replaced on abbreviation wrapping #66

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Like in this example:
<xsl:with-param name="style" select="concat('background-image:url(', 
&global;/images-domain, 
@fullname | @src, ')')"/>

Original issue reported on code.google.com by serge....@gmail.com on 30 Nov 2009 at 3:59

GoogleCodeExporter commented 8 years ago
I noticed this issue as well. Similar thing happens when using variables e.g., 
${id},
in the selected text (such as when documenting the Zen Coding plugin).

One method that may work is to replace any existing | in the selected text with
another string e.g., %PIPE%, and then replace that string before inserting the
expanded abbreviation into the document. You would just have to make sure you 
only do
that with the given contents so as not to apply it to a child element. This may 
be
tricky to do from within the core file, but if you did it before sending the 
contents
to the wrap abbreviation function, it would be easy enough. That's probably less
desirable given the coding would have to happen outside the core.

Original comment by angelw...@gmail.com on 21 Dec 2009 at 9:44

GoogleCodeExporter commented 8 years ago

Original comment by serge....@gmail.com on 9 Feb 2010 at 10:54

GoogleCodeExporter commented 8 years ago
This issue was closed by revision r293.

Original comment by serge....@gmail.com on 9 Feb 2010 at 12:06