aboutsummaryrefslogtreecommitdiffhomepage
path: root/storage
diff options
context:
space:
mode:
authorGravatar dzaikos <you@example.com>2018-06-26 17:39:56 -0400
committerGravatar dzaikos <you@example.com>2018-06-26 17:50:18 -0400
commit45d7105ed15dd80c9fdd76f61cf239b0a6177a4c (patch)
treee0f028045a4f53ba1c6155e99affb0e58d73eefc /storage
parentc9131b0e89db2989dd5e2e6894d6bec6c0075cb6 (diff)
Refactor AddImageTitle rewriter.
* 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.
Diffstat (limited to 'storage')
0 files changed, 0 insertions, 0 deletions