text tag...
This commit is contained in:
parent
0556efb41f
commit
2d6af63d14
|
|
@ -46,6 +46,10 @@ export const ribbitGlobals = {
|
|||
tag: async (tagFn: Function, atDefaults = {}) =>
|
||||
(atNamed = {}, ...args: any[]) => tagFn(Object.assign({}, atDefaults, atNamed), ...args),
|
||||
nospace: () => NOSPACE_TOKEN,
|
||||
text: (...args: string[]) => {
|
||||
buffer.push(args.join(' '))
|
||||
return TAG_TOKEN
|
||||
}
|
||||
}
|
||||
|
||||
for (const name of HTML5_TAGS) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user