@@ -85,6 +85,84 @@ Interpolations - Raw HTML (https://vuejs.org/v2/guide/syntax.html#Raw-HTML)
8585 (end_tag
8686 (tag_name))))
8787
88+ ================================================================================
89+ Template: Ignore content if language tag is given
90+ ================================================================================
91+
92+ <template lang="pug">
93+ div
94+ | Some {{ inner }} pug here.
95+ | Ignore <HTML /> <tags/> here
96+ </template>
97+
98+ --------------------------------------------------------------------------------
99+
100+ (component
101+ (template_element
102+ (start_tag
103+ (tag_name) (attribute (attribute_name) (quoted_attribute_value (attribute_value))))
104+ (raw_text)
105+ (end_tag (tag_name))
106+ )
107+ )
108+
109+ ================================================================================
110+ Template: Ignore content if language tag is given, template close is found
111+ ================================================================================
112+
113+ <template lang="pug">
114+ .doodle-wrapper
115+ hidden-field-set(:form-name="formName" :values="hiddenAttributes")
116+ simple-page-wrapper(:pages="pages")
117+
118+ </template>
119+
120+ <script lang="ts">
121+ </script>
122+
123+ --------------------------------------------------------------------------------
124+
125+ (component
126+ (template_element
127+ (start_tag
128+ (tag_name) (attribute (attribute_name) (quoted_attribute_value (attribute_value))))
129+ (raw_text) (end_tag (tag_name)))
130+ (script_element
131+ (start_tag
132+ (tag_name) (attribute (attribute_name) (quoted_attribute_value (attribute_value))))
133+ (raw_text) (end_tag (tag_name)))
134+ )
135+
136+ ================================================================================
137+ Template: Not using lang is normal HTML
138+ ================================================================================
139+
140+ <template slot="header">
141+ <p>Using mustaches: {{ rawHtml }}</p>
142+ </template>
143+
144+ --------------------------------------------------------------------------------
145+
146+ (component
147+ (template_element
148+ (start_tag
149+ (tag_name) (attribute (attribute_name) (quoted_attribute_value (attribute_value))))
150+ (text)
151+ (element
152+ (start_tag
153+ (tag_name))
154+ (text)
155+ (interpolation
156+ (raw_text))
157+ (end_tag
158+ (tag_name)))
159+ (text)
160+ (end_tag (tag_name))
161+ )
162+ )
163+
164+
165+
88166================================================================================
89167Interpolations - Attributes (https://vuejs.org/v2/guide/syntax.html#Attributes)
90168================================================================================
0 commit comments