OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]

Subject: Re: [docbook-apps] Redundant end tags been removed

Hi Barton,

For an explanation of why self-closing tags can be an issue with browsers see this question on stack exchange:


David Goss , Technical Writer 
Frontier Science | www.fstrf.org 
4033 Maple Rd, Amherst, NY 14226 
(716) 834-0900 extension 7204 

----- Original Message -----
From: "Barton Wright" <ordinant@gmail.com>
To: "Peter Fleck" <peterfleck@gmail.com>
Cc: "apps docbook" <docbook-apps@lists.oasis-open.org>
Sent: Wednesday, July 23, 2014 2:22:08 PM
Subject: Re: [docbook-apps] Redundant end tags been removed

Hello Peter,

I’m confused why the version without the closing </script> is a problem on any modern OS or browser. It’s a completely valid construction.

Nevertheless, perhaps the addthis.com site is expecting some content inside the <script></script> pair. You could place a space or even a non-breaking space character (&nbsp; or its Unicode equivalent) just before the </script> to see if that preserves the closing </script>. 

Let us know what worked when you figure it out!

> Hi guys,
> I'm trying to add the below to each chunked html page.
> <script type="text/javascript" src="//s7.addthis.com/js/300/addthis_widget.js#pubid=XXX"></script>
> <div class="addthis_sharing_toolbox"/>
> What happens is that the <script> tag gets shortened to
> <script type="text/javascript" src="//s7.addthis.com/js/300/addthis_widget.js#pubid=XXX"/>
> ie. the redundant closing tag is removed and the end slash added.
> This stops the rest of the html being displayed. If I manually change the html after it has been created  to the top, the AddThis sharing buttons appear. 
> I know there is probably a simple answer to this but can't get it. Is there a way to stop the <script> tag getting shortened?
> Thanks,
> Peter

To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]