TomKeegasi Posted February 16, 2014 Share Posted February 16, 2014 (edited) It seems like something doesn't quite work when parsing HTML code for geocache listings. Here is an example code that I'm working on <div> Some text <ul style="margin:0;"> <li>Some list entry 1</li> <li>Some list entry 2</li> </ul> Some more text </div> This code definitly works, as can be verified by creating a test.html file with this code, but when displaying this html-snippet inside a listing, there is still a margin AFTER the list-element. So I inspected the actual lisitng DOM/code that gets displayed on geocaching.com using Firebug: <div> Some text <ul> <li>Some list entry 1</li> <li>Some list entry 2</li> </ul> Some more text </div> As can easily be seen, the "style" attribute has gone rogue... :-/ This can quite easily be verified: 1) Create a new Listing (or use an existing one) 2) Copy the above (first) code into the long description box 3) Save & View updated listing 4) Inspect HTML code (by hand or e.g. using Firebug) Sidenote: style is definitly an allowed attribute in combination with <ul> Edited February 16, 2014 by TomKeegasi Quote Link to comment
+Pontiac_CZ Posted February 17, 2014 Share Posted February 17, 2014 This is much wider problem. I have found out that oficially supported tag abbr gets even completely stripped off. Developers should inspect the whole tag/attribute list and finally make them supported. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.