| Commit message (Collapse) | Author | Age |
|
|
|
| |
This is already done before in <media:description>.
|
|
|
|
|
| |
Dinosaur Comics (qwantz.com) likes to hide jokes in mailto: links, but
miniflux's sanitizer strips those out.
|
|
|
|
|
|
|
|
|
|
|
|
| |
This rewrite rule would change this:
<img title="<foo>">
to this:
<figure><img><figcaption><foo></figcaption></figure>
The image title needs to be properly escaped.
|
| |
|
| |
|
|
|
|
|
|
| |
Searches tags for various `data-*` attributes and sets `img` tag `src` attribute appropriately. Falls back to searching `noscript` for `img` tags.
Includes unit tests.
|
|
|
|
|
|
|
|
|
|
| |
* Only processes images with `src` **and** `title` attributes (others are ignored).
* Processes **all** images in the document (not just the first one).
* Wraps the image and its title attribute in a `figure` tag with the title attribute's contents in a `figcaption` tag.
Updated xkcd rewriter unit test.
Added another xkcd rewriter unit test to check rendering of images without title tags.
|
| |
|
|
|