diff options
author | Daniel U <uda@google.com> | 2016-01-29 16:58:36 +0000 |
---|---|---|
committer | Daniel U <uda@google.com> | 2016-02-11 12:11:44 +0000 |
commit | 4a70f09e39ac7c5f57b0f6dd44475641c68afafd (patch) | |
tree | 885d087b8d6171ce5edbe3163f73cbeb548d96b3 /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | 1914dc60c92111d04f7ad43bd388b195f4373749 (diff) |
Tweak toHtml() paragraph conversion behavior
For mode TO_HTML_PARAGRAPH_LINES_INDIVIDUAL:
1) Empty line outputs <br> instead of <p><br></p>
2) A <ul> element is closed if it is followed by a <br>
3) Explicit zero vertical margin is applied to <ul> instead of <li>'s
4) More deterministic way to encode AlignmentSpans: only spans with
SPAN_PARAGRAPH flag is used. If multiple spans exist, the last one
(which is added most recently) is used.
BUG: 26224878
Change-Id: I86a2aeced9965ae465daac1ace64e5e41cf45caf
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions