tmtsoftware / icd

ICD - Interface Control Document Management
Other
12 stars 5 forks source link

Enfoce self-closing tags. #33

Closed tnakamot closed 8 years ago

tnakamot commented 8 years ago

PDF generation by "icd" command fails if a tag does not have the corresponding closure tag (e.g. ) as reported in https://github.com/tmtsoftware/icd/issues/32. This commit solves that problem by enforcing self-closure tags when "icd" command generates HTML as an intermediate product.

abrighton commented 8 years ago

This should work for external images that can be referenced via HTTP URL. I'll look into ways to use local file URLs for images.

tnakamot commented 8 years ago

Thank for merging the request. Yes, this change only works for external images in public HTTP URL. Support for local image would require more changed in icd database code.