histoire
histoire copied to clipboard
Dynamic Source does not respect lang setting
Describe the bug
If there is a template lang set, like pug, the dynamic source code still shows in plain template mode instead of pug.
Reproduction
<template lang="pug">
AutoComplete(:options="state.options")
template(#controls)
div Disable
HstCheckbox
</template>
will be shown as
<AutoComplete :options="state.options">
<template v-bind="controls">
<div>
Disable <HstCheckbox />
</div>
</template>
</AutoComplete>
System Info
/
Used Package Manager
npm
Validations
- [X] Follow our Code of Conduct
- [X] Read the Contributing Guidelines.
- [X] Read the docs.
- [X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
- [X] Check that this is a concrete bug. For Q&A open a GitHub Discussion.
- [X] The provided reproduction is a minimal reproducible example of the bug.