From d04031c4017ca35f5fc5278a8aa5106503bced20 Mon Sep 17 00:00:00 2001 From: BurdetteLamar Date: Tue, 16 Sep 2025 01:47:15 +0100 Subject: [PATCH] [DOC] Fix typos --- lib/erb.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/erb.rb b/lib/erb.rb index f3f2ae3..9a91f76 100644 --- a/lib/erb.rb +++ b/lib/erb.rb @@ -361,7 +361,7 @@ # ``` # # You can give `trim_mode: '<>'` to suppress the trailing newline -# for each line that both begins with `'<%'` and ends with `'%<'`: +# for each line that both begins with `'<%'` and ends with `'%>'`: # # ``` # ERB.new(s, trim_mode: '<>').result.lines.each {|line| puts line.inspect } @@ -373,7 +373,7 @@ # # You can combine certain trim modes: # -# - `'%-'`: Enable shorthand and omit each blank line ending with `'%>'`. +# - `'%-'`: Enable shorthand and omit each blank line ending with `'-%>'`. # - `'%>'`: Enable shorthand and omit newline for each line ending with `'%>'`. # - `'%<>'`: Enable shorthand and omit newline for each line starting with `'<%'` and ending with `'%>'`. #