Skip to content

Blank spaces removed before and after formatting tags like <b> #8

@dasilro

Description

@dasilro

Hi I've found a problem happend in a situation like this:

sit, amet consectetur adipisicing elit.

The result is that the system removes the whitespace before the b tag.

To be sure I've tested it with the example project like this:

image

With the result:

image

As you can see in the image the whitespace before the bold has disappeared.

Looking for the reason we found in the ParagraphComponent.cs class two trims that apparently generates the issue:

image

I really don't know the code, but it seems the system generates a quest pdf component for each tag and the "b" tag is included in this Paragraph component.

Maybe those trims shouldn't be applied in line formatting elements like b, i etc.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions