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

Undesired whitespace before *span* and *a*. #200

Open
m-e-leypold opened this issue Jul 30, 2024 · 1 comment
Open

Undesired whitespace before *span* and *a*. #200

m-e-leypold opened this issue Jul 30, 2024 · 1 comment

Comments

@m-e-leypold
Copy link

m-e-leypold commented Jul 30, 2024

span and a also do not have the is_inline attribute set (similar issue as #139 and #194). This leads to unwanted white space (before the <a in the example) e.g. in

with span():
    text("(")
    with a(href=myurl):
        text("some")
    text(")")
@davetapley
Copy link

I assume related:
If I use an a without a with,
then I need to manually add a space at the start of a text immediately following the a.

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

2 participants