Skip to content

Commit

Permalink
DOC-2239: Remove deprecated remove_trailing_brs option.
Browse files Browse the repository at this point in the history
  • Loading branch information
kemister85 committed Feb 12, 2024
1 parent da2ff33 commit e18da71
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
11 changes: 9 additions & 2 deletions modules/ROOT/pages/7.0-release-notes.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -147,9 +147,16 @@ For information on using premium skins and icon packs, see: xref:premium-skins-a
[[deprecated]]
== Deprecated

=== The `<plugin>` configuration property, `<name>`, has been deprecated
=== The `remove_trailing_brs` option from DomParser has been deprecated.

// placeholder here.
Previously, the xref:content-filtering.adoc#remove_trailing_brs[remove_trailing_brs] option allowed you to disable {productname}'s default behavior of removing `+<br>+` tags at the end of block elements.

[source, js]
----
remove_trailing_brs: false
----

This property has been deprecated and was removed in {productname} 7.0.


[[known-issues]]
Expand Down
3 changes: 3 additions & 0 deletions modules/ROOT/partials/configuration/remove_trailing_brs.adoc
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
[[remove_trailing_brs]]
== `+remove_trailing_brs+`

[IMPORTANT]
This option has been deprecated in {productname} 7.0.

This option allows you to disable {productname}'s default behavior of removing `+<br>+` tags at the end of block elements.

https://en.wikipedia.org/wiki/Gecko_(software)[Gecko] and https://en.wikipedia.org/wiki/WebKit[WebKit] browsers inject these elements to make it possible to place the caret in empty blocks. This logic attempts to remove these elements while also keeping tags that were intentionally placed by the user.
Expand Down

0 comments on commit e18da71

Please sign in to comment.