Author: frederic.keller
Description:
The issue I am facing is that all pure Ampersand "&" present in a page content are replaced by their HTML entity &
Even when allowing raw HTML, $wgRawHtml=true, and surrounded by HTML tags, <html></html>, the ampersand are replaced.
I would like to keep pure &, because the users should be able to add some Javascript in their pages. But with this replacement the & used as a logic operator is corrupted, and the Javascript as well.
Here is a small content to explain and show the problem. Just add this content to a page and check the source.
<html>
ampersand : &
pure ampersand: & (should not be replaced)
</html>
Is there a solution to this problem, or will it be fixed in the next version ?
Thank you very much !
Version: 1.20.x
Severity: normal