all repos — htmlformat @ db3ccbe063c5534525722ec8cc07c0ba7adb0601

Go package and CLI tool used to format HTML

remove newlines in elements with only text content

Alan Pearce
commit

db3ccbe063c5534525722ec8cc07c0ba7adb0601

parent

5bd994fe268e4d505a9793143fa85414c7d50887

1 file changed, 3 insertions(+), 5 deletions(-)

changed files
M README.mdREADME.md
@@ -23,14 +23,12 @@
### CLI ```bash -echo '<ol><li style="&">A</li><li>B</li></ol>' | htmlformat +echo '<ol><li style="&"><em>A</em></li><li>B</li></ol>' | htmlformat <ol> <li style="&"> - A - </li> - <li> - B + <em>A</em> </li> + <li>B</li> </ol> ```