Issue #468 - config.c - use RAW encoding for all cases

This commit is contained in:
Geoff McLane 2017-02-23 16:28:19 +01:00
parent b97b2f0d45
commit 27fe0548b9

View file

@ -934,7 +934,7 @@ Bool TY_(ParseConfigValue)( TidyDocImpl* doc, TidyOptionId optId, ctmbstr optval
if (optId == TidyOutFile)
doc->config.cfgIn = TY_(BufferInput)( doc, &inbuf, RAW );
else
doc->config.cfgIn = TY_(BufferInput)( doc, &inbuf, ASCII );
doc->config.cfgIn = TY_(BufferInput)( doc, &inbuf, RAW ); /* Issue #468 - Was ASCII! */
doc->config.c = GetC( &doc->config );
status = option->parser( doc, option );