dfWiki error: writing SCRIPT tag outside of HTML tag

dfWiki error: writing SCRIPT tag outside of HTML tag

by Ne Nashev -
Number of replies: 1
dfwiki Recurs dfwiki_1.0_rev2006030101.zip:

text

<SCRIPT src="blocks/tree.js" type=text/javascript></SCRIPT>
<link rel="stylesheet" type="text/css" href="blocks/tree.css">

from mod/dfwiki/blocks/lib.php in outgoing html (by mod/dfwiki/view.php for example) stay outside <html> tag.

My FireFox 1.5 when i use UTF-8 based lang and view dfWiki pages display text in encoding that differs from UTF-8 required by page header - and it is because this tag-misordering.

When i move this <SCRIPT> tag to block_index.php and block_index_current.php into start of result string of functions get_content(), this error was eliminated. Doubling of this tag (which possible when both blocks used in one page) haven't wrong consequences.
Average of ratings: -
In reply to Ne Nashev

Re: dfWiki error: writing SCRIPT tag outside of HTML tag

by Dmitry Pupinin -
Picture of Core developers Picture of Plugin developers
This bug was fixed in my patch which mailed to Marc... It was 28 feb 2006.