You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/guide/templates.md
+3-7Lines changed: 3 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -181,18 +181,14 @@ end
181
181
182
182
Code editors commonly add a trailing newline character to source files in keeping with the Unix standard. Including trailing whitespace in component templates can result in unwanted whitespace in the HTML, eg. if the component is rendered before the period at the end of a sentence.
183
183
184
-
To strip trailing whitespace from component templates, use the `strip_trailing_whitespace`component-local config option.
184
+
To strip trailing whitespace from component templates, use the `strip_trailing_whitespace`class method.
0 commit comments