From: SourceForge.net <no...@so...> - 2009-10-15 01:14:54
|
Bugs item #2858983, was opened at 2009-09-15 10:48 Message generated for change (Comment added) made by jwaddell You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=577089&aid=2858983&group_id=85722 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Normaliser Group: None Status: Open Resolution: Fixed Priority: 5 Private: No Submitted By: Allan Cunliffe (acunliffe) Assigned to: Allan Cunliffe (acunliffe) Summary: Empty tags are closed without a space before the slash Initial Comment: Testing on Testing Branch - Xena 4.30 (build 4.3.3) with website-plugin (0.1.0 build 63). Some empty tags such as <img> are being closed when normalised. Other empty tags which are coded as closed (before being normalised) have the space before the "/" removed. For example, <img src="images/crystal/theme.png" alt="" /> becomes: <img src="images/crystal/theme.png" alt=""/>. The W3C recommend that for XHTML to be compatible with today's browsers, an extra space should be added before the "/" symbol. ---------------------------------------------------------------------- >Comment By: Justin Waddell (jwaddell) Date: 2009-10-15 12:14 Message: This has been properly fixed for all tags when viewing and exporting files. The normalised version will not contain the space before end tags, but as normalised files are not themselves XHTML documents I think this is OK. Fix made in testing branch, html plugin v2.4.4, website plugin v0.1.3 and Xena v4.3.9. ---------------------------------------------------------------------- Comment By: Justin Waddell (jwaddell) Date: 2009-10-13 15:15 Message: Fix was made in version 2.4.3 of the HTML plugin, testing branch. ---------------------------------------------------------------------- Comment By: Justin Waddell (jwaddell) Date: 2009-10-13 15:14 Message: I've added <img> to the list of tags where I force an end tag to be written by writing out an end-of-line character (I can't directly modify the code that actually prints the tags as it's in a 3rd-party library). However I don't want to do this for all tags as it has visible effects for some. Let me know if there are more tags I should be looking at (currently <a>, <script> and <img> tags are handled). ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=577089&aid=2858983&group_id=85722 |