object-tag data-attribute "bug" + workaround

e107 CMS » Forums » Miscellaneous » e107 Comments << Previous thread | Next thread >>
[user deleted]
Jul 10 2004, 01:41AM
Guest
e107 doesn't "support" the use of the 'data' attribute in for example the ##SANITISED##> tag (when within [html]-tags), which will be required sooner or later if you're aiming for xhtml-strict, since ##SANITISED##> is out the proverbial window after Transitional.Example:##SANITISED## data="http://www.google.com/" />is interpreted and then displayed as:##SANITISED## data="http://www.google...The workaround is simple, just replace one character of the "http://" with the corresponding character code to fool e107 (e.g. '/' for 'slash').All things considered this isn't all that big a bug/problem, but might be an interesting read for someone at least.
Go to top
Jgonick
Jul 10 2004, 06:20AM
Registered Member #7204
Joined: May 22 2004, 10:26AM
Posts: 105
I think this relates to the problem I'm having.

see this post. [-link-]
Go to top
[user deleted]
Jul 11 2004, 05:10AM
Guest
Jgonick wrote ...
I think this relates to the problem I'm having.

see this post. [-link-]


Yep, seems that way. Above mentioned solution should work, however, the preview function re-encodes character codes (among other things) into normal characters so you have to press the back button on your browser and make any changes in the "original" so to speak. Assuming your browser caches the previous page correctly. If your browser doesn't cache correctly then you'll have to do the copy-paste mambo together with a text editor I guess.
Go to top
 

Jump:     Back to top

Syndicate this thread: rss 0.92 Syndicate this thread: rss 2.0 Syndicate this thread: RDF
Powered by e107 Forum System