W3C home > Mailing lists > Public > html-tidy@w3.org > October to December 2006

HTML Tidy Issue

From: Nathaniel Trevivian <nathanielt@gatewest.co.uk>
Date: Thu, 5 Oct 2006 15:31:56 +0100
To: html-tidy@w3.org
Message-Id: <845394DA-5FE7-405A-A6D5-3FE87282E7C2@gatewest.co.uk>
I would like to use HTML Tidy alongside mytaglib stuff, enabling me  
to highlight search words in a page.
This involves putting all user-entered content within  
<mytaglib:keywords> tags.
Unfortunately, despite having declared mytaglib as being a new block  
AND inline tag, Tidy still seems to remove the closing tag, creating  
internal server errors.
Do you have a solution to this?
This is my config setup for Tidy:
indent: auto
indent-spaces: 2
wrap: 500
wrap-asp: no
wrap-jste: no
wrap-attrs: no
wrap-script-literals: no
markup: yes
output-xhtml: no
output-xml: no
input-xml: no
show-warnings: yes
show-errors: yes
numeric-entities: yes
quote-marks: no
quote-nbsp: yes
quote-ampersand: no
break-before-br: no
uppercase-tags: no
uppercase-attributes: no
char-encoding: utf8
fix-bad-comments: no
literal-attributes: yes
new-inline-tags: mytaglib,sum,span
new-blocklevel-tags: mytaglib, sum,span
new-empty-tags: mytaglib,sum,span
new-pre-tags: mytaglib,sum,span

As you can see, I've tried everything!
Here's the tag's it's screwing up:
<mytaglib:keywords before="<span style='COLOR: red;'>" after="</span>">
NO matter what I do, Tidy always strips the </mytaglib:keywords>  
close tag.
I'd appreciate any help you can give.

Kind regards,

Nathan Trevivian
GateWest New Media Ltd
1st Floor, Aztec Centre
Aztec West
Almondsbury, Bristol
BS32 4TD
Tel: +44 (0)1454 203720
Fax: +44 (0)1454 203330
web: http://www.gatewest.co.uk


The information contained in this message is for the intended  
addressee onlyand may contain confidential and/or privileged  
information. If you are not the intended addressee, please delete  
this message and notify the sender; do not copy or distribute this  
message or disclose its contents to anyone.

Any views or opinions expressed in this message are those of the  
author and do not necessarily represent those of GateWest New Media Ltd.

Read about how e-CHO content management can make a difference to
your internet or intranet presence at http://www.gatewest.co.uk

Received on Friday, 6 October 2006 02:15:17 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:38:56 UTC