1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-01-02 12:47:41 +02:00
joplin/CliClient/tests/enex_to_md
J0J0 T b47cb4e29a Desktop, Cli: Improved bold formatting support in Enex import (#1708)
* Dekstop,CLI: enex_to_md: add html/md test file pairs

* one pair for basic text formatting tags: strong, b, i, em
* and one using span tags with inline styles for bold formatting

Note: The html files include the Evernote-typical "linebreak tags inside of separate <div> tags"
to represent empty lines!

* Desktop,Cli: enex_to_md: support bold in span tags using inline styles

* function isSpanWithStyle() checks if further processing of a span tag
  makes sense
* function isSpanStyleBold() checks if bold formatting via styles is
  used - a similar function could be written for each span-inline-style-format
  that should be supported

* Desktop,Cli: enex_to_md: fix saving span attrs in state object

pushing attributes of span tag to state object now
happens outside of isSpanWithStyle()
2019-07-29 12:25:25 +02:00
..
code1.html Clipper: Improved UI and integration with main app 2018-05-20 10:19:59 +01:00
code1.md Clipper: Improved UI and integration with main app 2018-05-20 10:19:59 +01:00
code2.html Clipper: Improved UI and integration with main app 2018-05-20 10:19:59 +01:00
code2.md Clipper: Improved UI and integration with main app 2018-05-20 10:19:59 +01:00
heading.html Clipper: Improved UI and integration with main app 2018-05-20 10:19:59 +01:00
heading.md Clipper: Improved UI and integration with main app 2018-05-20 10:19:59 +01:00
inlineCode.html Clipper: Improved UI and integration with main app 2018-05-20 10:19:59 +01:00
inlineCode.md Clipper: Improved UI and integration with main app 2018-05-20 10:19:59 +01:00
inlineCodeWithLink.html Clipper: Improved UI and integration with main app 2018-05-20 10:19:59 +01:00
inlineCodeWithLink.md Clipper: Improved UI and integration with main app 2018-05-20 10:19:59 +01:00
link1.html Clipper: Improved UI and integration with main app 2018-05-20 10:19:59 +01:00
link1.md Clipper: Improved UI and integration with main app 2018-05-20 10:19:59 +01:00
list2.html Clipper: Improved UI and integration with main app 2018-05-20 10:19:59 +01:00
list2.md Clipper: Improved UI and integration with main app 2018-05-20 10:19:59 +01:00
list3.html Clipper: Improved UI and integration with main app 2018-05-20 10:19:59 +01:00
list3.md Clipper: Improved UI and integration with main app 2018-05-20 10:19:59 +01:00
list4.html All: Fixes #832: Enex import: Don't add extra line breaks at the beginning of list item when it contains a block element 2018-10-01 20:55:24 +01:00
list4.md All: Fixes #832: Enex import: Don't add extra line breaks at the beginning of list item when it contains a block element 2018-10-01 20:55:24 +01:00
list5.html Desktop, CLI: Fixes #1476: Import lists and sub-lists from Enex files with correct indentation 2019-05-01 18:06:37 +01:00
list5.md Desktop, CLI: Fixes #1476: Import lists and sub-lists from Enex files with correct indentation 2019-05-01 18:06:37 +01:00
list.html Clipper: Improved UI and integration with main app 2018-05-20 10:19:59 +01:00
list.md Clipper: Improved UI and integration with main app 2018-05-20 10:19:59 +01:00
multiline_attribute.html Desktop, CLI: Fixes #1583: Handle multiple lines in attributes when importing Enex files 2019-05-28 22:52:09 +01:00
multiline_attribute.md Desktop, CLI: Fixes #1583: Handle multiple lines in attributes when importing Enex files 2019-05-28 22:52:09 +01:00
multiline_inner_text.html Desktop, CLI: Fixes #1672: Fix line break issue when importing certain notes from Evernotes 2019-06-22 11:23:22 +01:00
multiline_inner_text.md Desktop, CLI: Fixes #1672: Fix line break issue when importing certain notes from Evernotes 2019-06-22 11:23:22 +01:00
paragraph.html Clipper: Improved UI and integration with main app 2018-05-20 10:19:59 +01:00
paragraph.md Clipper: Improved UI and integration with main app 2018-05-20 10:19:59 +01:00
table1.html Clipper: Improved UI and integration with main app 2018-05-20 10:19:59 +01:00
table1.md Clipper: Improved UI and integration with main app 2018-05-20 10:19:59 +01:00
tableWithNewLines.html Clipper: Improved UI and integration with main app 2018-05-20 10:19:59 +01:00
tableWithNewLines.md Clipper: Improved UI and integration with main app 2018-05-20 10:19:59 +01:00
text_formatting_span_bold.html Desktop, Cli: Improved bold formatting support in Enex import (#1708) 2019-07-29 12:25:25 +02:00
text_formatting_span_bold.md Desktop, Cli: Improved bold formatting support in Enex import (#1708) 2019-07-29 12:25:25 +02:00
text_formatting.html Desktop, Cli: Improved bold formatting support in Enex import (#1708) 2019-07-29 12:25:25 +02:00
text_formatting.md Desktop, Cli: Improved bold formatting support in Enex import (#1708) 2019-07-29 12:25:25 +02:00