djibe
April 23, 2022, 3:00pm
1
Hello,
My simplest markdown list with links:
- [Anchor](url)
- [Anchor](url)
- [Anchor](url)
is compiled to
<li><p><a>...
<li><p><a>...
<li><p><a>...
I don’t understand why every link is wrapped in a paragraph which overloads the HTML. It is not critical but simpler is better
Thanks for your thoughts,
Unable to reproduce, unless I insert a blank line between each item.
1 Like
djibe
April 23, 2022, 3:40pm
3
Woops, sorry, seems editor inserted a blank line after a shortcode containing a link which then applied the paragraph format to other links.
Sorry.
Thx for your time
You can add {{- /**/ -}}
to the bottom of your templates, including shortcodes, to chomp the trailing newlines.
6 Likes
system
Closed
April 25, 2022, 3:47pm
5
This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.