home / github / issue_comments

Menu
  • GraphQL API

issue_comments: 906646452

This data as json

html_url issue_url id node_id user created_at updated_at author_association body reactions issue performed_via_github_app
https://github.com/dogsheep/evernote-to-sqlite/issues/13#issuecomment-906646452 https://api.github.com/repos/dogsheep/evernote-to-sqlite/issues/13 906646452 IC_kwDOEhK-wc42ClO0 9599 2021-08-26T18:34:34Z 2021-08-26T18:35:20Z MEMBER I tried this ampersand fix: https://regex101.com/r/ojU2H9/1 ```python # https://regex101.com/r/ojU2H9/1 _invalid_ampersand_re = re.compile(r'&(?![a-z0-9]+;)') def fix_bad_xml(xml): # More fixes for things like '&' not as part of an entity return _invalid_ampersand_re.sub('&amp;', xml) ``` Even with that I'm still getting total garbage in the `<en-note>` content - it's just HTML, not even trying to be XML. {"total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} 978743426  
Powered by Datasette ยท Queries took 1.014ms