Laurent Cozic
657cebfda9
Desktop: Improved GotoAnything speed and made it safer
...
Previously we'd use the remove-markdown package to create the note
preview however this function would freeze on certain notes, and was
probably unsafe as it used regex to parse Markdown. Replaced this in
favour of Markdown-it along with htmlparser2 to strip all markup from a
note.
2020-07-14 23:27:45 +01:00
Laurent Cozic
fcd00b3212
Desktop, Cli: Fixed various bugs related to the import of ENEX files as HTML
2020-06-15 17:10:51 +01:00
Laurent Cozic
a96734f5be
Revert "Tools: Added eslint rule arrow-parens"
...
This reverts commit 0b6f5581f0
.
It causes too many conflicts with pull requests.
2020-05-21 09:14:33 +01:00
Laurent Cozic
0b6f5581f0
Tools: Added eslint rule arrow-parens
2020-05-20 17:16:43 +01:00
Laurent Cozic
06d807d9ff
Clipper: Fixes #2489 : Fixed clipping of pages that contain images without sources (YouTube), and improved support for SVG graphics
2020-02-12 18:15:16 +00:00
Laurent Cozic
cc51ba4f90
Tools: Upgraded jasmine and made it easier to filter tests
2019-11-02 10:19:24 +00:00
Laurent Cozic
e648392330
Chore: Apply eslint rules
2019-09-19 22:51:18 +01:00
Laurent Cozic
86dc72b204
First pass at linting lib dir
2019-07-29 15:43:53 +02:00
Laurent Cozic
36168a9a5d
Use regex instead of jsdom for compability with mobile app
2019-07-21 00:18:51 +01:00
Laurent Cozic
8ff1668c8f
Minor changes
2019-07-19 18:18:05 +01:00
Laurent Cozic
fbb0ac5892
Clipper: Refactored image rules to re-use more code
2019-07-15 20:43:28 +00:00
Laurent Cozic
c75618eb8f
Clipper: Minor fixes
2019-07-15 01:17:17 +01:00
Laurent Cozic
74ee629266
Clipper: Fixed issue with relative links when importing HTML
2019-07-15 00:44:45 +01:00
Laurent Cozic
a0dd0702fb
Clipper: Adding support for clipping page as HTML
2019-07-14 16:00:02 +01:00