Steve Howell
42435db492
Add run_test helper for individual tests.
...
This run_test helper sets up a convention that allows
us to give really short tracebacks for errors, and
eventually we can have more control over running
individual tests. (The latter goal has some
complications, since we often intentionally leak
setup in tests.)
2018-05-15 08:24:44 -07:00
Sampriti Panda
e86d5139bb
copy_and_paste.js: Remove excess newlines while pasting markdown html.
...
Fixes #8963
2018-04-24 08:27:43 -07:00
Tim Abbott
a4def8d409
copy_and_paste: Re-disable copy-paste handler in production.
...
This reverts commit 6e048c5d3f .
See #8963 for the main issue we need to fix before re-enabling this;
basically, some combination of toMarkdown and the way text/html gets
written was introducing a lot of bonus/bogus whitespace, both in the
form of newlines and spaces converted to ` `.
2018-04-09 22:10:28 -07:00
Tim Abbott
6e048c5d3f
copy_and_paste: Enable copy-paste handler in production.
...
Now that we've fixed the issues we encountered when first testing
this, we can try it out in production again.
2018-03-11 15:26:27 -07:00
Sampriti Panda
90c89dcc5a
copy_and_paste: Fix quirks with some parts of toMarkdown.
...
* Raw links don't use the proper markdown syntax and get pasted as is.
* Text in Ordered List format are not escaped like in normal markdown.
2018-02-22 08:26:45 -08:00
Garvit
b9826e9067
Add filters for toMarkdown to paste data to compose-box.
...
This fixes bugs with pasting headings and italic styling.
Fixes #7485 .
2017-11-28 09:56:48 -08:00
Rishi Gupta
83149a953a
copy paste: Turn off toMarkdown in production.
...
At least until some of the TODOs at the bottom of
node_tests/copy_and_paste.js are done.
2017-11-27 16:44:16 -08:00
Rishi Gupta
3fcfcd2a55
copy paste: Add toMarkdown test for 1. text.
2017-11-27 16:44:16 -08:00
Tim Abbott
0f8ee343de
node: Fix copy_and_paste test output.
...
I'm confused how this was passing when I tested previously.
2017-11-23 14:18:28 -08:00
Tim Abbott
cc8c8ab21c
node: Fix style in copy-paste test.
...
This bug got merged due to a problem with Travis CI.
2017-11-23 13:06:17 -08:00
Tim Abbott
4d4532a27e
copy_and_paste: Add a simple extensible test suite.
...
This commit is mostly about adding the test suite; some of the results
are things we'd like to change.
2017-11-23 12:59:01 -08:00