angular-cn/aio/tools/transforms/angular-base-package/post-processors
Peter Bacon Darwin ca17d4f639 build(aio): auto-fill width/height to all image tags
Parse all `<img>` tags, during doc-gen, and insert the width and height of
the sourceed image, if neither are already specified.

Warnings are reported if the `<img>` tag has no `src` attribute or the image
cannot be loaded.

The work is done in the `addImageDimensions` post-processor, which must be
configured with a `basePath` so that it knows where to find the images.

Closes #15888
2017-05-01 15:52:51 -07:00
..
add-image-dimensions.js build(aio): auto-fill width/height to all image tags 2017-05-01 15:52:51 -07:00
add-image-dimensions.spec.js build(aio): auto-fill width/height to all image tags 2017-05-01 15:52:51 -07:00
autolink-headings.js build(aio): move autolink-headings to post-processing (#16336) 2017-04-27 23:42:04 -05:00
autolink-headings.spec.js build(aio): capture and log errors and warnings when post-processing HTML 2017-05-01 15:52:51 -07:00