45d7105ed1
* 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. |
||
---|---|---|
.. | ||
rewrite_functions.go | ||
rewriter.go | ||
rewriter_test.go | ||
rules.go |