Hypolite Petovan
b0accf4d4c
Fix code blocks to Diaspora
...
- Extracts code blocks before BBCode conversion to prevent code
highlighting and whitespace meddling
- Use the improved HTLM To Markdown library
- Use <code> instead of <key> for Diaspora inline code blocks
5 years ago
Hypolite Petovan
8149e21add
Enforce standards
5 years ago
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()`
5 years ago
Hypolite Petovan
7b352f3f74
Revert "Coding convention applied - part 1"
5 years ago
Roland Häder
951006dd10
more spaces + some curly spaces added
...
Signed-off-by: Roland Häder <roland@mxchange.org>
5 years ago
Roland Häder
41a36606c6
added spaces + some curly braces
...
Signed-off-by: Roland Häder <roland@mxchange.org>
5 years ago
Hypolite Petovan
2310bf994a
Normalize line endings instead of adding <br> before Markdown()
5 years ago
Michael
e9d719a299
removed to-do
5 years ago
Michael
0d1f88033b
Support for the new Diaspora mention format
5 years ago
Michael
9a6478b273
Don't be greedy.
6 years ago
Michael
8aaf09f9ee
Automatically add a Diaspora mention
6 years ago
Roland Häder
e1f3661645
*much* more usage of App::get_baseurl() instead of $a->get_baseurl() (coding convention applied)
...
Signed-off-by: Roland Häder <roland@mxchange.org>
6 years ago
Roland Häder
884f44ce94
*much* more usage of App::get_baseurl() instead of $a->get_baseurl() (coding convention applied)
...
Signed-off-by: Roland Häder <roland@mxchange.org>
6 years ago
Hypolite Petovan
aef2c7373c
Formatting
6 years ago
Hypolite Petovan
d0cb8cdccf
Fixs edge case where single stars on succeeding lines are wrongly turned into multi-line <em>
6 years ago
Hypolite Petovan
60b9203dd5
Add <br> for each carriage return
...
Fixes #2993
6 years ago
Hypolite Petovan
166df0180b
Improve diaspora2bb autolinker for URLs
...
- Add @ support for URLs (Medium URLs)
- Exclude trailing commas from autolinked URLs, likely to be normal text
- Formatting
6 years ago
Michael Vogel
1c64090217
Avoid duplicated tags
7 years ago
fabrixxm
2d75e1f422
add support for oneline,in-text code tag
7 years ago
Michael Vogel
c356da2cad
Diaspora: Improved parsing of linefeeds
7 years ago
Tobias Diekershoff
7c48ed60eb
hide some HTML coded chars from markdownification
7 years ago
Michael Vogel
027b11ebb5
Small bugfix for likes
7 years ago
Michael Vogel
579ac83547
Fixing problems with single linefeeds in the Markdown conversion.
7 years ago
Michael Vogel
b827824faf
Trying to avoid parser problems.
7 years ago
Michael Vogel
d4b0a9ea2a
Solving parsing problems with the markdown library and html elements.
7 years ago
Michael Vogel
17bd46793e
Some fixes for the Markdown converter especially for Libertree.
7 years ago
Michael Vogel
2f46675a89
New routines for markdown to html and html to markdown.
7 years ago
Michael Vogel
3d26e1d233
When converting bbcode for Libertree then an empty line has to be before a honrizontal ruler.
8 years ago
Michael Vogel
7b26aa2b84
When exporting shared posts to diaspora now removed hashtags will be added again.
8 years ago
Michael Vogel
731d944ab5
bb2diaspora: added one more page break. In the future it could be replaced by a regular expression.
8 years ago
Michael Vogel
14bacc1e8c
markdown export for libertree now handles horizontal tulers correct.
8 years ago
Michael Vogel
35fbe3be14
Diaspora: Better handling of "red"-links
8 years ago
Michael Vogel
b01520babf
bb2diaspora: Horizontal ruler must have a leading new line for libertree
8 years ago
Michael Vogel
834e0ff778
Diaspora: The HTML paragraph element was treated wrong when importing items from Diaspora
8 years ago
Michael Vogel
de4d0765cb
Beautifiying export of shared posts to other networks
9 years ago
Michael Vogel
9c0de28622
bbcode: New element "share" for shared content
...
mail: Now mails connected via subject line if there isn't an appropriate header.
vier: Improvents to the theme so that shared messages are looking fine
10 years ago
Zach Prezkuta
f7a1999c15
manually fix escaped underscores in links
10 years ago
Zach Prezkuta
72712175b5
regular expressions were grabbing too much
10 years ago
Zach Prezkuta
009ebc732a
move tag transformation to bb2diaspora; start taking out unnecessary signature stuff
10 years ago
Michael Vogel
2aa67d67f5
Changed markdown to enable diaspora postings with images that contain links
10 years ago
Michael Vogel
335c15ede5
Hopefully the final fix for image links in bb2diaspora
10 years ago
Michael Vogel
8aeb3ec2fb
Corrected the fix for images with links
10 years ago
Michael Vogel
4e9086f9b0
Changes in the bbcode to markdown converter to make it more compatible with Diaspora
10 years ago
Zach Prezkuta
92db5e5ec2
focus preg_replace to prevent it from catching too much
10 years ago
Zach Prezkuta
4fb996d9f7
remove check for event description, since it's not required to create an event
10 years ago
Zach Prezkuta
47c7fd89ba
my php thinks this is a typo
10 years ago
Michael Vogel
dafc84390d
Improvments of the HTML to make a better bb2markdown conversion (nested lists, youtube, vimeo, ...)
10 years ago
Zach Prezkuta
041aeaf4a1
fix small bug in lists and revert Diaspora list processing to non-Markdownify version
10 years ago
friendica
360c35e438
recycle symbol woes with multiple html entity encode/decode cycles going on
10 years ago
friendica
0990269555
restore translation of bbcode videos, events, bookmarks, etc. to diaspora
10 years ago