Skip to content

Commit

Permalink
replace chevrons when generating CSS class names
Browse files Browse the repository at this point in the history
  • Loading branch information
bernhardmgruber committed Nov 1, 2021
1 parent 0f6714b commit 7bc8f7e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions include/llama/DumpMapping.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,8 @@ namespace llama
inline auto cssClass(std::string tags)
{
std::replace(begin(tags), end(tags), '.', '_');
std::replace(begin(tags), end(tags), '<', '_');
std::replace(begin(tags), end(tags), '>', '_');
return tags;
};
} // namespace internal
Expand Down

0 comments on commit 7bc8f7e

Please sign in to comment.