Overview
Comment: | Fix rendering of mailto: links, thanks @Roch |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | dev | 1.1.0-alpha8 |
Files: | files | file ages | folders |
SHA3-256: |
064656b21030e6d428b29650f32a2754 |
User & Date: | bohwaz on 2021-03-24 02:35:53 |
Other Links: | branch diff | manifest | tags |
Context
2021-03-24
| ||
03:10 | Fix silent fail for saving web pages, rendering of tables in Skriv check-in: edbfcddab4 user: bohwaz tags: dev, 1.1.0-alpha8 | |
02:35 | Fix rendering of mailto: links, thanks @Roch check-in: 064656b210 user: bohwaz tags: dev, 1.1.0-alpha8 | |
02:25 | Fix issue with form actions submit (thanks @Roch) check-in: 9bc1e09b41 user: bohwaz tags: dev, 1.1.0-alpha8 | |
Changes
Modified src/include/lib/Garradin/Web/Render/Skriv.php from [b53e142b99] to [6474f8eeb6].
︙ | ︙ | |||
81 82 83 84 85 86 87 | return self::resolveAttachment($match[1]); }, $str); $str = self::$skriv->render($str); $str = CommonModifiers::typo($str); | | | 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 | return self::resolveAttachment($match[1]); }, $str); $str = self::$skriv->render($str); $str = CommonModifiers::typo($str); $str = preg_replace_callback(';<a href="((?!https?://|\w+:).+)">;i', function ($matches) { return sprintf('<a href="%s" target="_parent">', self::resolveLink($matches[1])); }, $str); return sprintf('<div class="web-content">%s</div>', $str); } /** |
︙ | ︙ |