Skip to content

Allow using HTML or other raw markup as a link URL #217

@eliph

Description

@eliph

Prerequisites

[x ] Are you running the latest version of PHP-Textile?

Problematic Textile markup

Trying to use the Textpattern single tag <txp:file_download_link /> to create a hyperlink fails

Download this: "download link":<txp:file_download_link id="1" />

Expected output

<p>Download this: <a href="https://example.com/index.php?s=file_download&id=1">download link</a></p>

Actual output

<p>Download this: “download link”:https://example.com/index.php?s=file_download&amp;id=1</p>

Additional information

PHP-Textile version: v3.7.6
PHP version: PHP 8.1.3 (PHP-FPM)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions