diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/renderers/htmlrenderer.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/renderers/htmlrenderer.cpp b/src/renderers/htmlrenderer.cpp index d0a8d54..23f720e 100644 --- a/src/renderers/htmlrenderer.cpp +++ b/src/renderers/htmlrenderer.cpp @@ -122,8 +122,11 @@ static void renderRecursive(RenderState & state, GumboNode const & node, int nes return; case GUMBO_TAG_HR: - // HACK: stream += "<p style=\"text-align: center; width: 100%;\"><u> </u><br> </p>"; - stream += "<hr>"; + + // This is not nice, but better than the original <hr> tag. + // This will have the primary font color instead of *some* color. + stream += "<p style=\"text-align: center; width: 100%; white-space: nowrap;\"><s>" + QString(" ").repeated(50) + "</s></p>"; + return; case GUMBO_TAG_NAV: { |
