Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
andiwand committed Aug 18, 2024
1 parent da1396d commit 4a0d07f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/odr/internal/html/document_element.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,8 @@ void html::translate_master_page(MasterPage masterPage, HtmlWriter &out,
void html::translate_text(const Element element, HtmlWriter &out,
const HtmlConfig &config,
const HtmlResourceLocator &resourceLocator) {
(void)resourceLocator;

Text text = element.text();

out.write_element_begin(
Expand All @@ -253,6 +255,7 @@ void html::translate_line_break(Element element, HtmlWriter &out,
const HtmlConfig &config,
const HtmlResourceLocator &resourceLocator) {
(void)config;
(void)resourceLocator;

LineBreak line_break = element.line_break();

Expand Down Expand Up @@ -319,6 +322,9 @@ void html::translate_link(Element element, HtmlWriter &out,
void html::translate_bookmark(Element element, HtmlWriter &out,
const HtmlConfig &config,
const HtmlResourceLocator &resourceLocator) {
(void)config;
(void)resourceLocator;

Bookmark bookmark = element.bookmark();

out.write_element_begin("a",
Expand Down

0 comments on commit 4a0d07f

Please sign in to comment.