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 197509c commit e23d389
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/odr/internal/html/html_writer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

#include <odr/internal/html/common.hpp>

#include <algorithm>
#include <cstring>
#include <iostream>
#include <ranges>
#include <stdexcept>

namespace odr::internal::html {
Expand Down Expand Up @@ -273,7 +273,7 @@ void HtmlWriter::write_element_end(const std::string &name) {
}

bool HtmlWriter::is_inline_mode() const {
return std::ranges::all_of(m_stack, [](const StackElement &element) {
return std::ranges::any_of(m_stack, [](const StackElement &element) {
return element.inline_element;
});
}
Expand Down

0 comments on commit e23d389

Please sign in to comment.