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)

All
Other
task
Not set
major

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?
Group: mozillaorgconfidential
Would you mind pasting a link to an offending page.
Assignee: server-ops → oremj
Yeah:

http://developer.mozilla.org/en/docs/XUL:tabpanels

The problem is occurring in the {{XULAttrInc|selectedIndex}} template.
That setting is == true.
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
$wgUseTidy = false;
$wgAlwaysUseTidy = false;
Hm, very strange.  OK, I'll keep doing research.
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?
Er, actually, that might not be relevant; sorry for not reading closer.  The XML-style part might, however, be relevant.
Can we resolve this bug then?
Yep, all resolvified.
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Product: mozilla.org → mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.