Do not remove optional tags (#3725)

Mainly, </body> getting removed results in messing up snippet injection.
This commit is contained in:
Tatsuyuki Ishi 2018-08-15 22:00:54 +09:00 committed by Sébastien Chopin
parent 1492a13162
commit f0045322c1

View File

@ -112,7 +112,7 @@ export default {
removeAttributeQuotes: false, removeAttributeQuotes: false,
removeComments: false, removeComments: false,
removeEmptyAttributes: true, removeEmptyAttributes: true,
removeOptionalTags: true, removeOptionalTags: false,
removeRedundantAttributes: true, removeRedundantAttributes: true,
removeScriptTypeAttributes: false, removeScriptTypeAttributes: false,
removeStyleLinkTypeAttributes: false, removeStyleLinkTypeAttributes: false,