- Keep single-line and empty ~F sigils intact (#57)
- Prevent extra indentation on strings with newlines inside expressions (#61)
- Handle arbitrary expressions when checking for newlines in strings
- Stop endlessly indenting strings with newlines in expression attributes (#54)
- Fix crash with Elixir expression
{...}
on Elixir 1.13 without:line_length
or:surface_line_length
(#53)
- Stop adding spaces to indent blank lines in expressions (#51)
- Add
Surface.Formatter.Plugin
for Elixir 1.13 Formatter Plugin support.
- Support tagged expression attributes referencing variables (#47)
- Require Surface
~> 0.5
instead of~> 0.5.0
to expand compatibility to0.6
- Stop endlessly indenting attribute strings with interpolation whenever node is indented (#43)
- Stop endlessly indenting attribute strings with interpolation (#41)
- Enable reading from stdin (#37)
- Stop turning
:if={true}
into:if
(#39) - Stop endlessly indenting strings with newlines in list attributes (#40)
- Fix crash with
{#match "string"}
scenario (#32) - Stop removing
{/unless}
(#33) - Stop formatting contents of
<script>
tags (#34) - Stop performing conversion of pre-0.5
<template>
and<slot>
to<#template>
and<#slot>
(#35)
- Support new Surface syntax (#21 and #22)
- Fix crash related to HTML comments
<!-- -->
(#17)
- Require Surface
v0.4.0
(#16)
- Require Surface
v0.3.2
(#15)
- Require Surface
v0.3.1
(#13) - Update list of void elements per Surface
v0.3.1
(#14)
- Require Surface
v0.3.0
(#11) - Do not add trailing slash in void elements without a closing tag (#12)
- Fix crash whenever bracket-less keyword lists in attributes contained an interpolation in a key (#9)
- Allow inline elements on the same line with text nodes (#5)
- Fix issue where extra newlines surrounding text nodes were removed (#7)
- Organize transformations in formal phases (#8)
- Stop moving every child onto its own line; replace with limited rules for when to do that (#8)
- Require Surface
v0.2.0
(#2)
- Fix crash for self-closing
<pre>
,<code>
, and<#Macro>
tags. (#1) - Fix crash when
<pre>
,<code>
, and<#Macro>
tags contained components, HTML elements, or interpolations. (#3)
- Initial release