Ticket #1275 (closed defect: duplicate)

Opened 5 years ago

Last modified 5 years ago

How do I avoid display of entization in source code blocks

Reported by: guest Owned by: gogo
Priority: normal Milestone: 0.96
Component: Xinha Core Version: trunk
Severity: normal Keywords:
Cc:

Description

Currently, if I create a block <pre> 1 & 2 </pre> and then save it, the HTML source looks as I would expect, no entization has been added. However, if I edit the text again, on loading it is changed to <pre> 1 &amp; 2 </pre>. When I hit save without doing anything, the entization is printed directly to the browser, since it is in a <PRE> tag. This makes the editor unusable for content that contains source code for me, is there some workaround for this? (Same thing for <code> tags).

Change History

Changed 5 years ago by ray

  • status changed from new to closed
  • resolution set to duplicate

please have a look at ticket #1203

Note: See TracTickets for help on using tickets.