Topic on Project:Support desk

[RESOLVED] Some strange thing on pages

10
TraaBBIT (talkcontribs)
Ciencia Al Poder (talkcontribs)

This is usually caused by an unclosed HTML element (div, table, etc), or even a closing element that has no matching start element (effectively closing too early a previous element of the page. Check the HTML codes of the page or templates.

TraaBBIT (talkcontribs)
Ciencia Al Poder (talkcontribs)

If you inspect the generated HTML (better if you download the page as raw, since browser may auto-correct mismatched tags and change the original HTML) you'll see that it outputs several encoded HTML because it's not generating it properly (search for <)

I think those

and tags shoud be using wiki tables instead.
TraaBBIT (talkcontribs)
Ciencia Al Poder (talkcontribs)

I've exported the page of wiki.westeros.pl on my test 1.23 wiki and it rendered broken as well

89.66.208.117 (talkcontribs)

Any idea to resolve that issue?

89.66.208.117 (talkcontribs)

I resolved that issue.

I added $wgUseTidy=true; in LocalSetting.php. It works, thanks a lot

88.130.106.110 (talkcontribs)

Note that tidy fixes the ouput of broken markup - it does not fix the cause of the problem: The broken markup itself. Also, tidy can cause a number of interesting rendering bugs.

TraaBBIT (talkcontribs)

Yeah I know but I didn't find anything else to sesolve my issues

Reply to "[RESOLVED] Some strange thing on pages"