Mario
805bbd1c3e
fix color bbcode markup
2025-04-15 09:03:32 +00:00
Mario Vavti
c9d4b068c2
remove extensiv logging to syslog
2024-11-09 12:49:10 +01:00
Mario
61c03e4b4e
fix html2bbcode table and add test
2024-08-02 07:17:54 +00:00
Mario
481e08b904
remove p tags from li. otherwise we will get unwanted new lines in the list. add test.
2024-05-08 15:41:54 +00:00
Mario
f74922db39
add bbcode support for the HTML5 del tag
2024-05-07 08:52:05 +00:00
Mario
262cebb568
make parsing of li slightly more robust
2024-05-03 13:38:45 +02:00
Mario
219f0dfeca
also deal with ol and ul tags earlier and add test for double nested lists
2024-05-03 12:04:19 +02:00
Mario
3a50a0b715
deal with li tags earlier seems to be more straight forward also add test for li without closing tag
2024-05-03 10:23:36 +02:00
Mario
b25662e183
fix nested lists by parsing li before ul or ol and add a test
2024-05-03 09:39:58 +02:00
Mario
b3c260a145
fix reshares from streams loosing image
2024-03-20 09:31:17 +01:00
Mario
e1b660bfa3
we usually use ENT_COMPAT for content, so stick to this
2024-03-10 10:06:15 +00:00
Mario
37b22fe542
fix unterminated entity reference error when dealing with domxpath and add a test
2024-03-06 21:08:46 +01:00
Mario
067a66b927
fix some whitespace issues after recent changes
2024-02-09 11:20:46 +00:00
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