actmd/abraham

Issue with query selectors

marwann opened this issue · 1 comments

Hi there,

When using specific query selectors in the "element" property in tours YML, some errors are raised for advanced selectors, eg. [id^="whatever"] or .class > #id

As specials characters like < > or quotes are escaped, it raises javascript errors.

Is there any way to either add .raw or .html_safe to this line?

attachTo: { element: "<%= step['attachTo']['element'] %>", on: "<%= step['attachTo']['placement'] %>" },

Thanks for the suggestion! I'll give it a try.