From c66f165f008c7c75e522a64b49088819ea94ec3e Mon Sep 17 00:00:00 2001 From: "Michael[tm] Smith" Date: Sat, 7 Apr 2012 15:58:28 +0900 Subject: [PATCH] Don't line-wrap title attr. Thx Oliver Prygotzki. Fixes #28. --- src/pprint.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pprint.c b/src/pprint.c index 375abb8..0b0c995 100644 --- a/src/pprint.c +++ b/src/pprint.c @@ -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; }