syntax highlight messes with "<tag />"
Brought to you by:
emuntyan
The new HTML standards asks us to use <br /> instead of <br>, when this is done inside a PHP or javascript variable, the syntax lighlighter of medit strangly acts as if the quote has being closed. For example:
test the colors of the following code in the syntax highlighter (save as test.html):
<html>
<head>
<script>
document.write("This part is OK");
document.write("This part is OK <br /> The syntax highlighter will say that the quote was closed here (and after the real quote close, it will think it was reopened!");
document.write("This part whole part is now all messed up");
</script>
</head><body></body></html>
Now try to remove the <br /> tag or change it to <br> and you'll see the difference
Could you try attached file and see if it works correctly?
(html.lang goes into C:\Program Files (x86)\medit\share\medit-1\language-specs or $preifx/share/medit-1/language-specs)