[ php-blog-Bugs-3228699 ] Textile plugin: HTML entities in pre-formatted text
"SourceForge.net" <[email protected]> Sun, 20 Mar 2011 20:06:15 +0000
| Newsgroups | gmane.comp.serendipity.trackers |
|---|---|
| Message-ID | <[email protected]> |
Bugs item #3228699, was opened at 2011-03-20 12:27
Message generated for change (Comment added) made by manko10
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=542822&aid=3228699&group_id=75065
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Plugins
Group: None
Status: Open
Resolution: None
Priority: 3
Private: No
Submitted By: Janek Bevendorff (manko10)
Assigned to: Garvin Hicking (garvinhicking)
Summary: Textile plugin: HTML entities in pre-formatted text
Initial Comment:
When using the Textile markup plugin, HTML special characters (<, >, &) are turned into HTML entities (<, >, &), which is right, but if used inside pre text, those entities are then escaped again (&lt;, &gt;, &amp;)
For instance:
pre. Foobar > 1
becomes
<pre>Foobar &gt; 1</pre>
But instead it should just be <pre>Foobar > 1</pre> so that the browser renders a greater than symbol.
The Plugin "Transforms for HTML plugins" is of course the first markup plugin in the list, but the issue also occurs without it.
----------------------------------------------------------------------
Comment By: Janek Bevendorff (manko10)
Date: 2011-03-20 21:06
Message:
For reference: here is an example comment:
http://www.refining-linux.org/archives/28/21-The-command-line-calculator-bc/#c183
And this is the raw data of the code section:
pre. define trunc(x) {
auto os,s;
os=scale-5
if(scale>=A){
scale-=4
s=1;if(x<0)s=-1
x+=s*A^-scale
scale-=1;x/=1
}
for(scale=0;scale<=os;scale++)if(x==x/1){x/=1;break}
scale=os+5;return(x)
}
----------------------------------------------------------------------
Comment By: Janek Bevendorff (manko10)
Date: 2011-03-20 21:01
Message:
It shouldn't be a conflict with following markup plugins as it also happens
when I have disabled all other event plugins. And of course I meant
"Transforms HTML for comments", not "Transforms for HTML plugins". For
whatever reason I wrote that. :-)
My event plugins are in order:
Spartacus
Transforms HTML for comments
Markup: TextileMarkup: Emoticate
Statistics
Sitemap Generator (for Crawlers)
ContactForm
Avatar Plugin
Spam Protector
HTML META-Tags
Static Pages
Tagging of entries
Microblogging (Twitter, Identica)
Announce entries
Extended properties for entries
----------------------------------------------------------------------
Comment By: Garvin Hicking (garvinhicking)
Date: 2011-03-20 19:38
Message:
Hi!
Thanks for reporting. Can you state your s9y version, and which exact
event plugins you have installed - I believe this would be caused by markup
plugins being applied after textile.
"Transforms for HTML plugins" is not a plugin I recognize...?
Regards,
Garvin
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=542822&aid=3228699&group_id=75065
------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d