Skip to content

Url filter problems #160

@dereuromark

Description

@dereuromark
[url=https://example.net/]Dies soll ein Link sein[/url]

[url=https://example.net/]Dies soll ein Link[/url]

[url=https://example.net/]Dies soll ein[/url]

[url=https://example.net/]Dies soll[/url]

[url=https://example.net/]Dies[/url]

https://example.net/ 

becomes

<div class="body bbcode">
Dies soll ein Link sein<br><br>
Dies soll ein Link<br><br>
Dies soll ein<br><br>
Dies soll<br><br>
<a href="http://Dies">Dies</a><br><br>
<a href="https://example.net">https://example.net</a>/
</div>

So only the last two (with no space in the title) works.

The trailing slash at the end getting removed from the last is only a minor issue.
The main one for sure is the linking not working for the first 4

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