Skip to content

Remove HTML P at end of generated HTML #6

@zipwiz

Description

@zipwiz

Actually the generated HTML is finished by a single "<p>".

The technical reason for this is that the implemantation simply adds an opening "<p>" just in case there is still some text to come.

Syntactically spoken this is dangerous because there may follow other HTML running into problems with this "opened but not closed <p>". This finishing "<p>" should be removed therefore as soon as it is sure that the RTF source is completely consumed. This may be done at the very end of the transformation, just befor returning the result.

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