Closed
Bug 380312
Opened 17 years ago
Closed 17 years ago
HTML in templates is outputting raw instead of rendering
Categories
(mozilla.org Graveyard :: Server Operations, task)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: sheppy, Assigned: oremj)
Details
We currently have pages and templates that use HTML for various things. It looks like some of them are currently broken, outputting the raw HTML instead of rendering it. Could you check to see that $wgUserHtml is set correctly to allow HTML to be used?
Reporter | ||
Updated•17 years ago
|
Group: mozillaorgconfidential
Assignee | ||
Comment 1•17 years ago
|
||
Would you mind pasting a link to an offending page.
Assignee: server-ops → oremj
Reporter | ||
Comment 2•17 years ago
|
||
Yeah: http://developer.mozilla.org/en/docs/XUL:tabpanels The problem is occurring in the {{XULAttrInc|selectedIndex}} template.
Assignee | ||
Comment 3•17 years ago
|
||
That setting is == true.
Reporter | ||
Comment 4•17 years ago
|
||
Do we have $wgUseTidy enabled? I've found some forum posts that seem to hint that using tidy fixes this issue, but I don't know why that would be the case. Still doing more research into reasons this could be happening; if anyone else has thoughts, I'd love to hear them.
Summary: Check setting of $wgUserHtml in MDC LocalSettings.php → HTML in templates is outputting raw instead of rendering
Assignee | ||
Comment 5•17 years ago
|
||
$wgUseTidy = false; $wgAlwaysUseTidy = false;
Reporter | ||
Comment 6•17 years ago
|
||
Hm, very strange. OK, I'll keep doing research.
Reporter | ||
Comment 7•17 years ago
|
||
OK, what's happening here is that using the syntax: <span id="p-{{{1}}}" /> This doesn't work. You have to use: <span id="p-{{{1}}}">...</span> I don't know why this is the case. Any ideas?
Comment 9•17 years ago
|
||
Er, actually, that might not be relevant; sorry for not reading closer. The XML-style part might, however, be relevant.
Assignee | ||
Comment 10•17 years ago
|
||
Can we resolve this bug then?
Reporter | ||
Comment 11•17 years ago
|
||
Yep, all resolvified.
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Updated•9 years ago
|
Product: mozilla.org → mozilla.org Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•