W3C home > Mailing lists > Public > html-tidy@w3.org > April to June 2015

Re: Libtidy New Inline Tag

From: Murph Murphy <murph.murphy@oracle.com>
Date: Mon, 20 Apr 2015 09:14:03 -0600
Message-ID: <553517BB.2010302@oracle.com>
To: html-tidy@w3.org
I figured this out, that the options listed in the quick references also 
map to TidyOpts in the library, the mapping isn't really documented as 
far as I can tell, but it's there in the source.

As far as this problem goes I needed to tidyOptSetValue() TidyInlineTags 
passing a comma separated list of tags I wanted added as the value.


On 04/17/2015 12:36 PM, Murph Murphy wrote:
> I'm using libtidy for C++, trying to get the contents of an attribute 
> in a custom tag. Unfortunately tidyParseString() strips out this tag, 
> is there a way to force it to leave it in or recognize it as an actual 
> tag? I noticed that the htmltidy tool has the option to pass in 
> new-inline-tags, but couldn't find anything in the library that allows 
> for similar functionality. Is there an option I'm missing?
> Thanks,
> Murph
Received on Monday, 20 April 2015 15:16:19 UTC

This archive was generated by hypermail 2.3.1 : Monday, 20 April 2015 15:16:21 UTC