Max Kostikov
478014f02a
Better BBcode to Markdown conversion
2019-11-08 23:35:05 +01:00
Max Kostikov
60919488f1
Better spoiler BBcode tag conversion to Markdown
2019-08-23 23:58:07 +02:00
Max Kostikov
cf9ef615c9
Fix spoiler displaying while convert BBcode to markdown
2019-08-22 20:17:22 +02:00
Mario Vavti
528b9b6a60
fix #1374
2019-05-24 10:27:45 +02:00
Max Kostikov
a2959c6e9e
Remove scale_external_images()
2018-12-17 13:28:18 +01:00
Mario Vavti
b4bac88c39
fix markdown tests
2018-10-30 22:37:41 +01:00
Mario Vavti
c622ba84b9
really fix html2markdown() - when using environment, we must set the defaults
2018-10-30 22:16:37 +01:00
Mario Vavti
0b371c8103
fix html2markdown() and re-enable previously failing tests
2018-10-30 13:55:08 +01:00
git-marijus
0db047e572
fix phpunit error with html2markdown test and temporary disable failing markdown test in connection with **bold** and _italic_ (it is not clear why they fail and the code appears to work as expected)
2018-10-13 13:39:22 +02:00
Mario Vavti
822bbd9ad5
another try to fix Fix PHP Warning: DOMDocument::loadHTML(): htmlParseEntityRef: no name in Entity
2018-09-22 14:18:37 +02:00
Mario
c873f7e702
Revert "Fix PHP Warning: DOMDocument::loadHTML(): htmlParseEntityRef: no name in Entity"
...
This reverts commit 184928204a
2018-09-22 14:15:30 +02:00
Mario Vavti
184928204a
Fix PHP Warning: DOMDocument::loadHTML(): htmlParseEntityRef: no name in Entity
2018-09-12 11:14:49 +02:00
Mario Vavti
d98ed68749
html-to-markdown adds a backslash infront of a hash after each new line - manualy remove those
2018-08-29 16:16:17 +02:00
zotlabs
12f4787b67
issue with mdpost addon and archive.org links which contain a full url as a path/query component
2018-08-13 23:11:10 -07:00
zotlabs
db1a546aba
add table support to markdown
2018-08-12 16:25:14 -07:00
Mario Vavti
7890157f52
revert debug comment from the last commit
2018-08-09 23:07:50 +02:00
Mario Vavti
b3d1ea4cd5
fix zid leaking to nonzot sites if markdown is enabled
2018-08-09 17:03:20 +02:00
zotlabs
9acf007687
hubzilla issue #1166
2018-05-09 17:03:10 -07:00
Mario Vavti
ac967db4e8
new markdown lib seems to handle < and > correct. remove the workaraound.
2018-03-23 09:40:24 +01:00
zotlabs
a99ebd42ec
change to bbcode calling parameters: important: will require pulling addons;
...
also some extra checking of server headers in upload functions
2017-11-23 15:21:50 -08:00
zotlabs
9b19e40a74
hubzilla issue #901 - unicode characters in urls tripping up url regexes - these regexes have been modified to accept unicode "letters" which may preclude emojis and control sequences and symbols in url links; but should suffice for most legal URLs containing language context "text" glyphs.
2017-11-09 21:26:18 -08:00
Klaus Weidenbach
1a737be2b4
💡 Improving Doxygen documentation.
...
Fix some Doxygen parsing errors.
Improve hooks documentation.
2017-11-03 23:04:27 +01:00
zotlabs
812d904c98
bring back the markdown post feature (after investing some effort to make it work)
2017-10-22 18:23:37 -07:00
zotlabs
d06ce6294d
some bb-to-markdown issues
2017-08-03 04:55:56 -07:00
zotlabs
40effa4417
add options flag to bb_to_markdown so we can distinguish between diaspora use and other use and
...
therefore filter and adjust content selectively
2017-07-30 13:52:16 -07:00
zotlabs
7d891a54e7
improve the formatting of shares when converting from bbcode to markdown
2017-07-26 16:22:20 -07:00
zotlabs
9dbd997141
Merge branch 'dev' of https://github.com/redmatrix/hubzilla into xdev_merge
2017-06-07 17:11:35 -07:00
zotlabs
3a2a7d0508
re-arrange a few functions
2017-06-07 09:26:45 +02:00
zotlabs
bfad624528
re-arrange a few functions
2017-05-30 18:36:19 -07:00
zotlabs
062b9ecbf3
bring back html2markdown which went away in the merge
2017-05-30 18:22:48 -07:00
zotlabs
d3cad5a651
Merge branch 'dev' of https://github.com/redmatrix/hubzilla into xdev_merge
2017-05-30 18:18:28 -07:00
Klaus Weidenbach
586c72fbe5
Don't drop PHP5 support yet.
...
Scalar Type Hints and Return Type Declarations were introduced in PHP7.
2017-05-27 22:44:54 +02:00
Klaus Weidenbach
0f0e23445a
🔨 ✅ Add html2markdown unit tests.
...
A tiny refactoring to make HTML 2 markdown conversion testable.
Add some unit tests to check the behavior of the now used HTML2Markdown library.
There are some differences compared to the old pixel418/markdownify library.
2017-05-27 00:19:01 +02:00
zotlabs
bf580fcc06
Merge branch 'dev' of https://github.com/redmatrix/hubzilla into xdev_merge
2017-05-23 16:14:41 -07:00
Klaus Weidenbach
547df2219a
Replace Mardownify library with html-to-markdown library.
2017-05-23 00:32:11 +02:00
zotlabs
fa94c0a65b
handle mastodon urls in markdown/bbcode conversion
2017-05-10 14:48:04 +02:00
zotlabs
e059efb4c4
handle mastodon urls in markdown/bbcode conversion
2017-05-08 19:10:08 -07:00
zotlabs
0e5d824bff
finish the red conversion of the markdown utilities considering their relation to protocol plugins.
2017-05-02 22:10:53 -07:00
zotlabs
15ab331b6b
move all the diaspora content hacks to the diaspora plugin
2017-03-08 17:35:19 -08:00
zotlabs
9ca53fdc5d
DCV stuff
2017-03-07 17:44:19 -08:00
Klaus Weidenbach
6c79e0c077
⬆️ 🔨 Upgrade Markdownify library.
...
The current version 2.0.0 (alpha) throws deprecated warning with
PHP7.1 and PHPUnit.
Upgrade the HTML to Markdown converter for PHP to the current
Markdownify 2.2.1.
Used composer to manage this library.
2017-03-05 01:14:15 +01:00
Klaus Weidenbach
503c368f9e
⬆️ 🔨 Upgrade PHP Markdown library.
...
The current version throws deprecated warning with PHP7.1 and PHPUnit.
Upgrade the Markdown library to the current PHP Markdown Lib 1.7.0.
Used composer to manage this library.
2017-02-27 23:40:29 +01:00
zotlabs
eb3685f537
remove per-page login css (home, login); add support for alternative markdown mention format
2017-02-05 18:47:35 -08:00
zotlabs
7e1e9ac94a
rename bb2diaspora.php to markdown.php
2017-02-02 19:12:48 -08:00