Commit graph

51 commits

Author SHA1 Message Date
Hypolite Petovan
503e5847f9 Improve html2bbcode
- trim code blocks
- Add <code> conversion to <code> (from Diaspora)
2018-01-14 19:01:09 -05:00
Adam Magness
bc49fc974c Capitalized XML
Acronym classes should be capitalized
2017-11-10 07:45:33 -05:00
Adam Magness
f245bc8359 Move xml to namespace
Relocate xml from include to src
Related to #3878
2017-11-10 07:18:24 -05:00
Michael
9804e65d18 Bugfix: not complete a url with parameter or fragment 2017-10-31 06:05:52 +00:00
Michael
3eed3316ea Some more camels 2017-10-16 20:59:16 +00:00
Michael
b521215383 Camels aren't studly 2017-10-16 20:57:53 +00:00
Michael
f127d65de9 Added spaces 2017-10-16 20:55:37 +00:00
Michael
2a28591415 Complete incomplete URL during feed import 2017-10-16 20:31:13 +00:00
Hypolite Petovan
ad4cdf2a9d Replace lowercase operators 2017-06-08 21:03:44 -04:00
Hypolite Petovan
1d427aa214 Standards: Remove EOF closing PHP tags 2017-05-02 23:36:56 -04:00
Hypolite Petovan
3e285a690a Fix Diaspora code blocks being mangled
- Remove whitespace removal code from `diaspora2bb()`
- Add code block skipping the HTML transforms removing whitespace in
`htm2bbcode()`
2017-03-26 19:00:04 -04:00
rabuzarus
56e38dd6bd move function deletenode() to the xml class 2016-11-27 20:19:43 +01:00
Michael Vogel
e1774acbde Bugfix: Avoid error messages because of an already used function 2015-11-13 23:55:01 +01:00
Fabrixxm
fa4ee05312 Remove anonymous function, 5.2 is still minimal requirement 2015-11-13 09:36:22 +01:00
fabrixxm
2d75e1f422 add support for oneline,in-text code tag 2015-08-20 15:08:55 +02:00
Michael Vogel
e5fc28bb31 Removed some unnecessary code 2015-03-07 21:10:02 +01:00
Michael Vogel
bf0f7c3d0a New bbcode elements h1 to h6 for a better conversion of Diaspora content 2015-03-01 20:07:56 +01:00
Michael Vogel
184dcf75a7 Caching for scrape, keywords for remote_self, notifications for addresses that aren't in your contact list. 2015-01-20 22:54:25 +01:00
Michael Vogel
1520a3feab Using a better placeholder. Could solve this issue: https://github.com/friendica/friendica/issues/920 2015-01-01 21:19:07 +01:00
Michael Vogel
d001e19035 Detecting "type-video" at the conversion. (Mostly used by reimporting posts from pump.io that come from friendica) 2014-05-29 11:42:41 +02:00
Michael Vogel
7b471e097a When converting from html to bbcode, now mail links are converted into the [mail] bbcode 2014-04-04 10:54:43 +02:00
Michael Vogel
fa431e84c2 API: Show shared messages as repeated messages, improvements with nick names 2014-01-02 22:29:44 +01:00
friendica
315784444a try and get unadulterated bb2md2html2bb for simple stuff, then we'll work up to harder stuff 2012-07-02 01:11:19 -07:00
Alexander Kampmann
355c42cb30 Merge branch 'master' of https://github.com/friendica/friendica
Conflicts:
	include/config.php
	update.php
2012-04-05 13:39:15 +02:00
Michael Vogel
b5120888cf html2bbcode: Disabled size conversion 2012-03-15 21:17:51 +01:00
Michael Vogel
11c29e0cba Merge commit 'upstream/master' 2012-03-09 11:41:23 +01:00
friendica
4134fd3dce unused replacement variable displays %1 in all html2bbcode 'code' blocks 2012-03-04 16:26:16 -08:00
Michael
52ea842e87 html2bbcode: don't convert sizes and fonts. 2012-03-02 10:33:39 +01:00
friendica
21803e0cd3 call time pass by reference deprecated 2012-02-28 14:54:17 -08:00
Michael
dccefb3c36 "vier": The contacts are now working again. Line break before closing bbcodes removed. 2012-02-25 11:00:35 +01:00
Tobias Diekershoff
85d09f48d0 fix img tag with size attribute 2012-02-23 11:12:36 +01:00
Michael
064c843119 Handling nested bbcodes. Some small design changes in html2bbcode. Change in poller.php is just for testing purposes. 2012-02-19 21:07:45 +01:00
Michael
31653aef64 Brand new html2bbcode. Some other changes in diaspora to bbcode handling 2012-02-19 20:36:59 +01:00
friendica
8aa2552372 add remove_user hook (it looks like dreamhost changed all my file permissions, this will make a nasty commit) 2012-01-18 16:21:30 -08:00
Friendika
43da1429cc import image sizes from html source 2011-09-13 04:53:17 -07:00
Friendika
7601ce7de7 iframes 2011-06-15 03:41:28 -07:00
Friendika
05c52ae81d preserve newlines inside <pre> tags when importing feeds 2011-02-09 17:51:05 -08:00
Friendika
5899ae9017 Support bbcode size tag - I may regret this... 2011-02-08 21:26:28 -08:00
Friendika
25c2640c17 be more forgiving about the order of link parameters in html->bb 2011-02-02 18:09:27 -08:00
Friendika
fa1f2ce8f3 fix some linebreak issues 2011-01-17 19:50:18 -08:00
Friendika
d5ac7e938b newlines were getting stripped 2011-01-16 23:48:44 -08:00
Friendika
ca83d24c02 and slashes - sigh... 2010-12-30 23:48:11 -08:00
Friendika
e490c9459d and right angles 2010-12-30 21:09:58 -08:00
Friendika
53928bec87 oops escape left angles in expressions 2010-12-30 21:08:06 -08:00
Friendika
9296d178b3 html5 video/audio support - still needs multiple source
selection,  and check that it isn't blocked by html purifier
2010-12-30 18:32:49 -08:00
Friendika
279469ab35 plugin hooks for bbcode conversions 2010-12-30 14:21:05 -08:00
Friendika
206eee0229 preserve newlines on all networks 2010-11-05 02:19:39 -07:00
Mike Macgirvin
f9ff5b36bf match patterns against the encoder 2010-10-07 21:18:26 -07:00
Mike Macgirvin
c59948f1dc more fixes from landing 2010-09-09 02:00:01 -07:00
Mike Macgirvin
bc9e175ced fixing typos from 2.0 landing 2010-09-09 01:49:03 -07:00