diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2024-08-19 14:29:58 -0400 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2024-08-19 14:29:58 -0400 |
| commit | 934b843b1ce4744f8f21b7c590f0e1f31c94f604 (patch) | |
| tree | 5ca8d6f2a6c1055b8c2aa6e01f45b8e1e435aeff /test/lang.tm | |
| parent | ea6f9797be2b6c1f65cf3b5594f8fb062ba92e9e (diff) | |
Add .text_content as a field on DSLs instead of a method
Diffstat (limited to 'test/lang.tm')
| -rw-r--r-- | test/lang.tm | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/lang.tm b/test/lang.tm index dfe1c663..d78476de 100644 --- a/test/lang.tm +++ b/test/lang.tm @@ -18,6 +18,9 @@ func main(): >> HTML.HEADER = $HTML"<!DOCTYPE HTML>" + >> HTML.HEADER.text_content + = "<!DOCTYPE HTML>" + >> user := "I <3 hax" >> html := $HTML"Hello $user!" = $HTML"Hello I <3 hax!" |
