Customizable Select HTML containing a <button> element and selectedcontent is broken by posthtml().process().
The <select> element is closed prematurely right before the <button> tag.
This ist related to
Example code
< select >
< button >
< selectedcontent > </ selectedcontent >
</ button >
< option value ="pokeball ">
< img src ="https://assets.codepen.io/159218/pokeball.svg " alt ="" />
Pokeball
</ option >
< option value ="greatball ">
< img src ="https://assets.codepen.io/159218/great-ball.svg " alt ="" />
Great ball
</ option >
< option value ="ultraball ">
< img src ="https://assets.codepen.io/159218/ultra-ball.svg " alt ="" />
Ultra ball
</ option >
</ select >
PostHTML Output (Version 0.16.7)
The <select> element is closed prematurely right before the <button> tag (on line 2).
< select >
</ select > < button >
< selectedcontent > </ selectedcontent >
</ button >
< option value ="pokeball ">
< img src ="https://assets.codepen.io/159218/pokeball.svg " alt ="">
Pokeball
</ option >
< option value ="greatball ">
< img src ="https://assets.codepen.io/159218/great-ball.svg " alt ="">
Great ball
</ option >
< option value ="ultraball ">
< img src ="https://assets.codepen.io/159218/ultra-ball.svg " alt ="">
Ultra ball
</ option > Reactions are currently unavailable
Customizable Select HTML containing a
<button>element and selectedcontent is broken byposthtml().process().The
<select>element is closed prematurely right before the<button>tag.This ist related to
<select>whatwg/html#10310<select>whatwg/html#10548Example code
PostHTML Output (Version 0.16.7)
The
<select>element is closed prematurely right before the<button>tag (on line 2).