adobe / helix-pipeline

request | markdown | html | response
https://www.project-helix.io
Apache License 2.0
31 stars 19 forks source link

strike-through regression #887

Closed tripodsan closed 3 years ago

tripodsan commented 3 years ago

an empty strikethrough node produces a stray ~~~~ in the html:

doc

image

md (current)

### ~~THE COOKIES CAKE SLICE :#v: - sold out!~~ ~~[add to cart](https://squareup.com/dashboard/items/library/CJ3WVOPUQWKMBRYVQE3J7DLJ)~~   ~~~~

~~chocolate chip cake + cookie butter ice cream inside + coconut sorbet outside + fudge bits~~

html

<h3 id="the-cookies-cake-slice-v---sold-out-add-to-cart---"><del>THE COOKIES CAKE SLICE <svg xmlns="http://www.w3.org/2000/svg" class="icon icon-v"><use href="/icons.svg#v"></use></svg> - sold out!</del> <del><a href="https://squareup.com/dashboard/items/library/CJ3WVOPUQWKMBRYVQE3J7DLJ">add to cart</a></del>   ~~~~</h3>
<p><del>chocolate chip cake + cookie butter ice cream inside + coconut sorbet outside + fudge bits</del></p>
tripodsan commented 3 years ago

see

tripodsan commented 3 years ago

won't fix here but in gdocs2md by removing empty format nodes.