Core: encode HTML reserved characters in attributes with disregard of the specified quotation mode

Issue #1104 resolved
Denis Konovalyenko created an issue

Currently, the reserved HTML characters in attributes are not encoded when the quotation mode is UNESCAPED (0). So, it would be reasonable to support such encoding when a target document is written.