From 67c18c77d0082dfd6c602ad3c549f7560df8d991 Mon Sep 17 00:00:00 2001 From: ridiculousfish Date: Sun, 12 Feb 2017 15:39:22 -0800 Subject: [PATCH] 'Correct' error to eror in lexicon_filter This changes the error examples in the tutorial to properly show in red --- doc_src/FORMATTING.md | 2 +- lexicon_filter.in | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/doc_src/FORMATTING.md b/doc_src/FORMATTING.md index 904637139..a7655ab52 100644 --- a/doc_src/FORMATTING.md +++ b/doc_src/FORMATTING.md @@ -156,7 +156,7 @@ The following can be used in \\fish blocks to render some fish scenarios. These : Matched items, such as tab completions. : Matched items searched for, like grep results. : Render the contents with a preceding backslash. Useful when presenting output. -: This would be shown as an error. +: This would be shown as an error. (Note eror, not error). : This text will not be parsed for fish markup. : This would be rendered as command/script output. {{ and }}: Required when wanting curly braces in regular expression example. diff --git a/lexicon_filter.in b/lexicon_filter.in index aeb872efd..19c33d3ff 100644 --- a/lexicon_filter.in +++ b/lexicon_filter.in @@ -135,9 +135,9 @@ s|]*>|@smtc{| s||}| #. # ERrOR -s||@eror{| -s|]*>|@eror{| -s||}| +s||@eror{| +s|]*>|@eror{| +s||}| #. # AsIs - protect from auto-formatting s||@asis{|