opening new window when displaying email address #1

Open
petervizi opened this Issue Sep 29, 2010 · 0 comments

Comments

Projects
None yet
1 participant
Owner

petervizi commented Sep 29, 2010

htmlscrubber will sanitize all javascript from the generated html code, so the onclick event can't be used to open up a new window to show the email address. For this purpose I used the target attribute of the anchor, but unfortunately this is invalid in XHTML Strict. The result is that this plugin will break the validity of the generated html pages.

The workaround for this is to use XHTML Transitional doctype in page.tmpl.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment