The "toMarkdown" function prepares content to be sent, primarily, to Diaspora. The HTML to Markdown converter by default "preserves HTML tags without Markdown equivalents like `<span>` and `<div>.`" At least according to the README in _/friendica/vendor/league/html-to-markdown/_ - which also says "To strip HTML tags that don’t have a Markdown equivalent while preserving the content inside them, set strip_tags..." Diaspora, however, does not appear to know what to DO with the HTML sent to it. It actually appears to _encode_ the HTML and displays the *code* in the post body rather than rendering it as HTML. In which case it would make more sense to strip out all tags that have no Markdown equivalents. |
||
---|---|---|
.ddev | ||
.devcontainer | ||
.github | ||
.tx | ||
.woodpecker | ||
bin | ||
config | ||
doc | ||
images | ||
LICENSES | ||
mod | ||
mods | ||
spec | ||
src | ||
static | ||
tests | ||
view | ||
.codecov.yml | ||
.editorconfig | ||
.gitattributes | ||
.gitignore | ||
.gitmodules | ||
.htaccess-dist | ||
.php-cs-fixer.dist.php | ||
.phpmd-ruleset.xml | ||
.phpmd-ruleset.xml.license | ||
.phpstan.neon | ||
CHANGELOG | ||
CHANGELOG.license | ||
composer.json | ||
composer.lock | ||
CONTRIBUTING.md | ||
CONTRIBUTING.md.license | ||
CREDITS.txt | ||
CREDITS.txt.license | ||
database.sql | ||
docblox.dist.xml | ||
docblox.dist.xml.license | ||
Doxyfile | ||
Doxyfile.license | ||
FEDERATION.md | ||
FEDERATION.md.license | ||
index.php | ||
LICENSE | ||
README.md | ||
README.md.license | ||
REUSE.toml | ||
REUSE.toml.license | ||
ruleset.xml | ||
ruleset.xml.license | ||
security.txt | ||
security.txt.license | ||
translations.txt.license | ||
update.php | ||
Vagrantfile | ||
Vagrantfile.license | ||
VERSION | ||
VERSION.license |
Friendica - your open and free social network
Welcome to the free social web. Friendica is a platform for decentralised social communication linking to other independent social and corporate services.
Friendica connects you to a federated communications network of thousands of servers called the Fediverse. Through various protocols you can interact with anyone on Friendica, Mastodon, Lemmy, Diaspora, Misskey, Peertube, Pixelfed, Pleroma and many more. Receiving content from Tumblr, WordPress and RSS is also possible. Friendica allows to import and mirror your content via add-ons such as ITTT and Buffer. You can control the privacy scope of your content.
Being part of the Fediverse allows you to be free from data-harvesting corporations. Enjoy open social communication, independent of any specific provider.
Join Friendica today or set up your own Friendica instance.
Friendica on desktop
Friendica on mobile
Endorsements
- Friendica is listed on
in the Fediverse category.