vapor / leaf-kit

🍃 An expressive, performant, and extensible templating language built for Swift.
https://docs.vapor.codes/4.0/leaf/getting-started
MIT License
47 stars 38 forks source link

Correctly parsing non Leaf `#` tag. #91

Closed Hailong closed 3 years ago

Hailong commented 3 years ago

Leaf templates containing # characters that don't match a tag will be rendered. This allows for things like anchor and colours to work correctly.

Also adds a new #comment tag

Resolves #89

0xTim commented 3 years ago

@Hailong thanks for this, honestly not sure how it was such a simple fix 😅

Could you change https://github.com/vapor/leaf-kit/blob/main/.github/workflows/test.yml#L24 to point to main instead of master - that should get CI working

0xTim commented 3 years ago

Original comment:

It includes the following changes:

0xTim commented 3 years ago

@Hailong never mind about the fix, I can edit your branch

VaporBot commented 3 years ago

These changes are now available in 1.2.0