diff --git a/src/components/parser.cpp b/src/components/parser.cpp index 4df94b37..e1d98611 100644 --- a/src/components/parser.cpp +++ b/src/components/parser.cpp @@ -96,8 +96,8 @@ void parser::codeblock(string&& data, const bar_settings& bar) { break; case 'U': - m_sig.emit(change_underline{parse_color(value, bar.underline.color)}); - m_sig.emit(change_overline{parse_color(value, bar.overline.color)}); + m_sig.emit(change_underline{color(m_ul, value, bar.underline.color)}); + m_sig.emit(change_overline{color(m_ol, value, bar.overline.color)}); break; case 'u':