XML parsing error with code tags and editing posts


Recommended Posts

The post here looks like this:

post-125341-0-80988800-1360511266.png

I punched the code section in by turning off rich formatting, but now if I go to edit the post, the post text comes out like this:

I've fixed the alignment in the example. The file system type goes after the mount directory (e.g. /media/Shows [b]ext4[/b]). The second zero is the "pass" value, it just tells fstab that it doesn't need to check the file system at boot time, and just to mount it. This is the default I think, but you should include it anyway to be sure.

I used the format described on the arch wiki:

[code]
<file system="">        </file>

It looks like the editor is trying to parse the code section as HTML. This also happens for the full editor as well as the quick editor.

Link to comment
Share on other sites

This topic is now closed to further replies.