diff options
author | Ben Bridle <ben@derelict.engineering> | 2025-03-21 14:44:28 +1300 |
---|---|---|
committer | Ben Bridle <ben@derelict.engineering> | 2025-03-21 14:44:28 +1300 |
commit | fb9b3dfdd3d9edce96ca6f61b00d241f0429462b (patch) | |
tree | f0eb9399a378cd5423efacfecbb65583ab1a9e7b /src/collect_files.rs | |
parent | d3dc0830e5a35fb7af4d14218ffabb62e2411f16 (diff) | |
download | toaster-fb9b3dfdd3d9edce96ca6f61b00d241f0429462b.zip |
Fix IDs generated for styled headings
Headings that contained line elements other than Normal were being
stringified with the line_to_html function, which was causing the
generated ID for such a heading to contain HTML tags. This was fixed
by instead stringifying using the basic to_string() method of Line.
Diffstat (limited to 'src/collect_files.rs')
0 files changed, 0 insertions, 0 deletions