mirror of
https://github.com/marko-js/marko.git
synced 2025-12-08 19:26:05 +00:00
Added test case for #491 - Allow plain text parsing
This commit is contained in:
parent
a8c59a0050
commit
4355bc0e4d
@ -0,0 +1,3 @@
|
||||
module.exports = function codeGenerator(el, codegen) {
|
||||
return el.body;
|
||||
};
|
||||
@ -0,0 +1,4 @@
|
||||
{
|
||||
"body": "static-text",
|
||||
"preserve-whitespace": true
|
||||
}
|
||||
3
test/autotests/render/static-text-tag/expected.html
Normal file
3
test/autotests/render/static-text-tag/expected.html
Normal file
@ -0,0 +1,3 @@
|
||||
|
||||
Content
|
||||
More Content
|
||||
4
test/autotests/render/static-text-tag/template.marko
Normal file
4
test/autotests/render/static-text-tag/template.marko
Normal file
@ -0,0 +1,4 @@
|
||||
<static-text>
|
||||
Content
|
||||
More Content
|
||||
</static-text>
|
||||
Loading…
x
Reference in New Issue
Block a user