This pull requests adds a new parser option `lwc`. This is the same as the HTML parser, but it adds support for unquoted HTML attributes per the needs of LWC. See: #5627
13 lines
293 B
HTML
13 lines
293 B
HTML
<template>
|
|
<div
|
|
data-for={value}
|
|
data-for={value[0]}
|
|
data-for={value.toString()}
|
|
data-for={value()}
|
|
class="test"
|
|
></div>
|
|
</template>
|
|
<template if:true={value.error}>
|
|
<c-error-panel errors={value.error}></c-error-panel>
|
|
</template>
|
|
<a href="#" onclick={aFunction}> |