Mario
096fad5e8c
another try
2024-02-09 08:02:58 +00:00
Mario
e21e4c7127
let's try this
2024-02-09 07:33:13 +00:00
Mario
5754ea828d
move parsing of a tags upà to fix an issue where mentions arriving from masto did not parse correctly, fix typo when restoring temporary linebreaks and remove redundant codeline when converting span tags
2024-02-08 20:22:26 +00:00
Harald Eilertsen
19ae8cfdfc
Support code blocks with language in markdown and html.
2024-02-08 10:00:12 +01:00
Harald Eilertsen
86e953f495
Fix: Preserve hard linebreaks from markdown and html
2024-02-07 22:34:13 +01:00
Harald Eilertsen
4f69e02768
Don't concert html nodes with no bbcode equivalent.
2024-02-07 16:02:53 +01:00
Harald Eilertsen
e6ce2885c0
Fix: Keep indentation in html and md code blocks.
...
Moves the logic for unwrapping broken lines in html (and Markdown) to
the node processing, instead of doing it over the full html content.
This allows us to skip if for code blocks (aka `<code>` elements within
`<pre>` elements).
2024-02-07 15:54:40 +01:00
Harald Eilertsen
ec19ee9d82
Fix convert code blocs from markdown/html to bbcode
2024-02-06 18:39:51 +01:00
Harald Eilertsen
983f063d33
Fix image with alt text for html/md to bbcode
2024-02-06 16:23:39 +01:00
Mario
b05b756148
Handling HTML entities via mbstring is deprecated
2024-01-14 17:23:57 +00:00
Mario
3ba27b9752
add mark to html2bbcode parser
2022-12-07 11:01:28 +00:00
Mario
3e38a24f0a
fix PHP error
2022-03-31 10:07:15 +00:00
Mario
37f56e1efd
event fixes
2022-03-04 18:43:21 +00:00
Hilmar R
c26dede97f
get dev
2021-03-01 18:48:11 +01:00
Xanthor
823c0434eb
Fix a really disturbing comment
2019-05-17 05:23:12 +02:00
zotlabs
2fa9645dfc
channel delegation: push current identity and pop it on logout from the delegated channel. This fixes the known issue of being forced to log back in after leaving the delegated channel.
2018-04-11 17:40:04 -07:00
zotlabs
f0faa7f9b0
support tables in markdown posts/comments (but not table alignment); and do not support iframes from html source.
2018-01-14 16:45:33 -08:00
Mario Vavti
73766caa81
html2bbcode: use headings bbcode for headings
2017-12-20 11:11:18 +01:00
zotlabs
3d0a7f4fc5
paths in xchan_addr no longer means RSS specifically but could be activitypub
2017-09-03 22:09:16 -07:00
redmatrix
e48323775d
add another hook
2016-09-29 22:28:23 -07:00
friendica
34781433c1
I'm speechless. This is just reckless. Set a context flag in text using a context trigger character which is likely to be present in that text already. Without escaping any previous instances of that character. Grrr.
2014-10-23 21:20:12 -07:00
friendica
e8be2ff8da
wall-e random signature failures
2014-10-19 15:54:20 -07:00
friendica
376a51f8d8
doc updates
2014-06-06 23:56:52 -07:00
friendica
ea3940c4b0
start formatting for Doxygen
2013-02-25 17:09:40 -08: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