Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Prior to post-processing being introduced to govspeak we had the ability to specify the entity_output of the HTML. By using nokogiri to format to format the HTML we lose the ability to do this as nokogiri will automatically perform conversions to the entities. In cases where nokogiri encounters a encoded HTML entity that it can safely output as a utf-8 character it will automatically replace the entity with the character. For example: `¥` is converted to `¥` In cases where nokogiri encounters a numeric HTML entity it will convert that into a symbolic one. For example: `>` is converted to `>` I haven't found any instances where our applications are using the `:numeric` option and believe it was only introduced as an option as a side effect of a different change, rather than being something that was required: 74ea8c7
- Loading branch information