ronn icon indicating copy to clipboard operation
ronn copied to clipboard

Incorrect attributes in generated `meta` tags

Open apjanke opened this issue 6 years ago • 2 comments

In the HTML output, there are a couple meta tags being generated by Ronn.

  <meta http-equiv='content-type' value='text/html;charset=utf8'>
  <meta name='generator' value='Ronn/v0.7.3 (http://github.com/rtomayko/ronn/tree/0.7.3)'>

I think these are invalid. The meta element doesn't take a name attribute; it takes a content attribute instead. These should be:

  <meta http-equiv='content-type' content='text/html;charset=utf8'>
  <meta name='generator' content='Ronn/v0.7.3 (http://github.com/rtomayko/ronn/tree/0.7.3)'>

apjanke avatar Dec 22 '18 18:12 apjanke

Superset of #81.

apjanke avatar Dec 22 '18 19:12 apjanke

Fixed in my Ronn-NG fork at https://github.com/apjanke/ronn-ng/commit/d645829cd4156e555789999eb5da7561f8753c07.

apjanke avatar Dec 23 '18 03:12 apjanke