Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add template html tag. #1164

Merged
merged 1 commit into from Jun 1, 2020
Merged

Add template html tag. #1164

merged 1 commit into from Jun 1, 2020

Conversation

wout
Copy link
Contributor

@wout wout commented Jun 1, 2020

Purpose

Implements #1154.

Description

Adds the <template> tag. Probably the tiniest contribution yet. :)

Note: I couldn't find any existing specs, not sure if this should be tested or not.

Checklist

  • - An issue already exists detailing the issue/or feature request that this PR fixes
  • - All specs are formatted with crystal tool format spec src
  • - Inline documentation has been added and/or updated
  • - Lucky builds on docker with ./script/setup
  • - All builds and specs pass on docker with ./script/test

Copy link
Member

@jwoertink jwoertink left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We do have specs, but they already cover any case this would have. I think this is fine as is. Thanks!

@@ -1,6 +1,6 @@
module Lucky::BaseTags
include Lucky::CheckTagContent
TAGS = %i(a abbr address article aside b bdi body button code details dialog div dd dl dt em fieldset figcaption figure footer form h1 h2 h3 h4 h5 h6 head header html i iframe label li main mark menuitem meter nav ol option pre progress rp rt ruby s script section small span strong summary table tbody td textarea th thead time title tr u ul video wbr)
TAGS = %i(a abbr address article aside b bdi body button code details dialog div dd dl dt em fieldset figcaption figure footer form h1 h2 h3 h4 h5 h6 head header html i iframe label li main mark menuitem meter nav ol option pre progress rp rt ruby s script section small span strong summary table template tbody td textarea th thead time title tr u ul video wbr)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This would technically go after td and before textarea alphabetically 😜 but not really a huge deal. Close enough 😂

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oops 😊

@jwoertink jwoertink merged commit 7f4ba79 into luckyframework:master Jun 1, 2020
@jwoertink jwoertink mentioned this pull request Jun 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants