Closed robinv8 closed 1 year ago
It fails because it should fail. :)
Eventual nodes under pre > code
are typically syntax highlighting that should not be converted. With the current Turndown design, the conversion is not aware of being within under a code block, so it actually is converted to content like it was a normal markup. Using textContent
is a way around it and it is correct.
The only valid exception for now is <br>
, as addressed in #286. So I suggest to close this in favour of #286 (which also won't be merged as is, but is closer to a correct solution).
Here content should be used instead of code, but the test fails, which should be related to turndown-attendanty.