pugjs / babel-plugin-transform-react-pug

A plugin for transpiling pug templates to jsx
MIT License
811 stars 47 forks source link

Escaped sequence support in pug-tagged template string #90

Open kamikat opened 5 years ago

kamikat commented 5 years ago

Request to support escaped sequences on pug-tagged template string.

ezhlobo commented 5 years ago

@kamikat could you please provide some use cases for this? I'm mostly interesting if the lack of this leads to any limitation in your code.

Keeping in mind that we support single and double quotes, slashes, unicode characters and html entities, I think we don't have a good use case for this feature. But that's only my immediate reaction, so don't take it too strong ;).