-
-
Notifications
You must be signed in to change notification settings - Fork 18
Open
Description
@gucong3000 Hi,
singleTagsoptions can also take regular expression seeAs a result, your settings should come down to
{ closingSingleTag: 'slash' , singleTags: [ /<\s*[^>]*\/>/ ] }
@Scrum This won't work, since regular expression only check tag name.
Originally posted by @yangmingshan in posthtml/posthtml#221 (comment)