fix(parser): Make the %{U} tag use color stacks #544

This commit is contained in:
Michael Carlberg 2017-04-26 19:01:55 +02:00
parent 5c7e3cbbac
commit 31ba2f38bd

View File

@ -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':