mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-03-31 16:45:27 +00:00
remove extra space from tag values
This commit is contained in:
parent
3387de7f84
commit
e17a47bb85
1 changed files with 2 additions and 2 deletions
|
|
@ -140,7 +140,7 @@ bool Reader::Line::Match::header(
|
||||||
Glib::ustring & text
|
Glib::ustring & text
|
||||||
) {
|
) {
|
||||||
auto match = Glib::Regex::split_simple(
|
auto match = Glib::Regex::split_simple(
|
||||||
R"regex(^(#{1,3})(.*)$)regex",
|
R"regex(^(#{1,3})\s*(.*)$)regex",
|
||||||
GEMTEXT
|
GEMTEXT
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
@ -189,7 +189,7 @@ bool Reader::Line::Match::quote(
|
||||||
Glib::ustring & quote
|
Glib::ustring & quote
|
||||||
) {
|
) {
|
||||||
auto match = Glib::Regex::split_simple(
|
auto match = Glib::Regex::split_simple(
|
||||||
R"regex(^>(.*)$)regex",
|
R"regex(^>\s*(.*)$)regex",
|
||||||
GEMTEXT
|
GEMTEXT
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue