htmlnano icon indicating copy to clipboard operation
htmlnano copied to clipboard

Remove optional open/closing tags

Open maltsev opened this issue 9 years ago • 3 comments

@stevenvachon:

  1. Remove optional closing tags such as </html>, </head>, </body>, </option>, </p>, </thead>, </tbody>, </tfoot>, </tr>
  2. remove optional opening tags such as <html>, <head>, <body>

maltsev avatar Mar 05 '16 22:03 maltsev

Here’s what I did for opening and closing tags.

wooorm avatar Jan 04 '19 18:01 wooorm

@maltsev considering the feature will result in invalid HTML, will posthtml be compatible with it?

SukkaW avatar Oct 11 '20 02:10 SukkaW

considering the feature will result in invalid HTML, will posthtml be compatible with it?

I'm not sure. We should test it.

On a more general note, it raises a more important question about PostHTML limitations. I created #99 for discussing that.

maltsev avatar Oct 11 '20 07:10 maltsev