mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Whitespace
- Context::footnote and Context::header were accepting and displaying blank lines, which is silly.
This commit is contained in:
parent
b7ab366c71
commit
98c6a94625
1 changed files with 4 additions and 2 deletions
|
@ -590,12 +590,14 @@ void Context::updateXtermTitle ()
|
|||
////////////////////////////////////////////////////////////////////////////////
|
||||
void Context::header (const std::string& input)
|
||||
{
|
||||
if (input.length ())
|
||||
headers.push_back (input);
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
void Context::footnote (const std::string& input)
|
||||
{
|
||||
if (input.length ())
|
||||
footnotes.push_back (input);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue