Don't line-wrap title attr. Thx Oliver Prygotzki.

Fixes #28.
This commit is contained in:
Michael[tm] Smith 2012-04-07 15:58:28 +09:00
parent d194e8726e
commit c66f165f00

View file

@ -1158,7 +1158,7 @@ static void PPrintAttribute( TidyDocImpl* doc, uint indent,
{
if ( TY_(IsScript)(doc, name) )
wrappable = cfgBool( doc, TidyWrapScriptlets );
else if (!(attrIsCONTENT(attr) || attrIsVALUE(attr) || attrIsALT(attr)) && wrapAttrs )
else if (!(attrIsCONTENT(attr) || attrIsVALUE(attr) || attrIsALT(attr) || attrIsTITLE(attr)) && wrapAttrs )
wrappable = yes;
}