Skip to content

Commit

Permalink
fix: Fix mjml builtin attributes/tags
Browse files Browse the repository at this point in the history
  • Loading branch information
timo-reymann committed Apr 5, 2021
1 parent 64b3a23 commit 7731c42
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -700,7 +700,7 @@ class BuiltInMjmlTagInformationProvider : MjmlTagInformationProvider() {
"center"
),
MjmlAttributeInformation(
"base url",
"base-url",
MjmlAttributeType.STRING,
"base url for children components"
),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ val ATTRIBUTE_HEIGHT = MjmlAttributeInformation(

val ATTRIBUTE_WIDTH = MjmlAttributeInformation(
"width",
MjmlAttributeType.PIXEL,
MjmlAttributeType.STRING,
"width for element"
)

Expand Down
5 changes: 5 additions & 0 deletions src/main/resources/META-INF/plugin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,11 @@
<li>Add extension point support</li>
</ul>
</li>
<li>1.4.1
<ul>
<li>Fix some attributes/tags - mjml documentation is very inconsistent here</li>
</ul>
</li>
</ul>
]]></description>

Expand Down

0 comments on commit 7731c42

Please sign in to comment.