Actions
Defect #4243
closed{{include}} macro mangles HTML entities in <pre> blocks
Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Wiki
Target version:
-
Start date:
2009-11-19
Due date:
% Done:
0%
Estimated time:
Resolution:
Cant reproduce
Affected version:
Description
Use of the include macro garbles HTML entities (specifically < and > characters that I noticed).
Steps to repeat:
1) Create an wiki page (of awesomeness)
blah blah blah stuff about the page <pre><code class="c"> FSLPoint p; FSLPoint o; o.x = 0; o.y = 0; FSLPoint s; s.x = 7; s.y = 7; for(p.x=0; p.x<8; ++p.x) for(p.y=0; p.y<8; ++p.y) board[FSLPointVectorize(&p, &o, &s)] = 0; </code>
2) use the include macro to include that page from another page
{{include(mypage)}}
In the page that did the including, the < character shows up as ‹ but on the original page it shows up just fine.
First observed at FSPoint_vectorizationGuide and FSPoint_vectorizeWithOrigin_size as well as FSLPoint_Vectorize.
I think the include macro is washing the page through the HTML entities engine one too many times, but I can't be sure.
Actions