willyelm / pug-html-loader

Pug HTML loader for webpack

Home Page:https://github.com/willyelm/pug-html-loader

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

attributes with sharp symbol

vovkats opened this issue · comments

@willyelm I can not write sharp attribute.
e.g. #staticModal="bs-modal"
How I understand this loader does not support sharp attributes for pug. Does workaround exist for this case?

Hi @vovkats, please try by added the doctype option:

{
  loader: 'pug-html-loader',
  options: {
    doctype: 'html'
  }
}

@willyelm Thank you very much. It works with single sharp attribute. Tomorrow I will check work with sharp attribute with value