Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/snickerjp/brbrbr-php7/archive/refs/heads/main.zipNo built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.
WordPressの標準フィルター wpautop を置き換え、改行をそのまま <br> タグに変換するプラグインです。
概要
WordPressはデフォルトで wpautop フィルターにより改行を <p> タグに自動変換しますが、意図しないレイアウト崩れの原因になることがあります。このプラグインは wpautop を無効化し、改行を素直に <br> へ変換します。最終的な出力HTMLは、wpautop を前提としたテーマ/プラグインとの互換性維持のため、コンテンツ全体を常に <p> ~ </p> でラップし、<blockquote> 内については段落として再ラップする前提になっています。
機能
- 投稿本文・コメントの改行を内部的に
<br>に変換(最終的な出力はコンテンツ全体を1つの<p>~</p>でラップ) - ブロックレベルHTML要素(
table,div,ul,pre等)直後の不要な<br>を自動除去 <pre>, `