Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bold/italic within word doesn't work #23

Open
friggog opened this issue Oct 18, 2022 · 1 comment
Open

Bold/italic within word doesn't work #23

friggog opened this issue Oct 18, 2022 · 1 comment

Comments

@friggog
Copy link

friggog commented Oct 18, 2022

Description

Including bold (**) or italic (*) within words currently results in asterisks appearing in the HTML with a link, e.g. **b**o**l**d or *i*tal*i*c

The first will give:
<a href="#id1"><span class="problematic" id="id1">**</span></a>b**o<a href="#id1"><span class="problematic" id="id2">**</span></a>l**d

Working fine when wrapping a full word e.g. **bold** or *italic*

Details

  • OS: Windows/Linux
  • Python version: 3.9
  • Project version: 0.5.3
  • Can you repro on main?
  • Can you repro in a clean virtualenv?
@friggog
Copy link
Author

friggog commented Oct 18, 2022

The same is true for inline raw HTML - e.g. <b>B</b>o<b>l</b>d fails while <b>Bold</b> succeeds. This isn't limited to <b> tags - but applies for any HTML e.g. <span>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant