Benjamin Neff 536c96f217 Escape mentions before parsing message with markdown
Usernames that contained underscores were parsed by markdown first. This
broke the diaspora IDs and also added weird html at places where it
wasn't needed. Escaping them before sending the message through the
markdown parser fixes this issue.

As underscores are the only allowed character that can be used for
markdown that is also allowed inside a diaspora ID, this escaping can be
kept pretty simple.

This only fixes it for the mobile UI at the moment, for the desktop UI
it's probably better to fix it in markdown-it.

Related to #7975
2022-10-06 00:45:50 +02:00
2022-09-01 22:49:48 +02:00
2021-09-18 19:18:03 +02:00
2018-02-27 00:47:32 +01:00
2015-05-21 17:25:47 +02:00
2022-07-23 16:59:37 +02:00
2016-07-06 00:59:16 +02:00
2015-02-14 17:07:56 +01:00
2019-10-18 23:14:14 +02:00
2014-11-13 11:36:55 +01:00
2015-08-23 13:21:53 +02:00
2016-11-27 21:27:12 +01:00
2014-03-24 15:33:29 +01:00
2022-07-20 21:27:46 +02:00
2015-09-14 21:50:09 +02:00
2015-02-28 02:36:14 +01:00
2022-09-09 04:33:37 +02:00
2017-07-12 16:14:58 +02:00
2022-09-09 04:33:37 +02:00
2022-09-09 04:33:37 +02:00
2016-09-25 07:26:07 +02:00
2022-07-17 22:16:05 +03:00
2022-09-09 04:33:37 +02:00
2022-04-26 21:02:35 +02:00
2022-04-26 21:02:35 +02:00
2022-07-17 22:16:05 +03:00

diaspora*

A privacy-aware, distributed, open source social network

Project site | Wiki | Bugtracker | Discussions and Support | License | Authors

Installation

You don't have to install diaspora* to use the network. There are many servers connected to diaspora*s network which are open to anyone, and you can create an account on one of these servers. Have a look at our tips for finding a home, or you can just go straight to the list of open servers to sign up.

Want to own your data and install diaspora*? Whether you just want to try it out, want to install it on your server or want to contribute and need a development setup, our installation guides will get you started!

Questions?

Have a look at our FAQs for users, for pod administrators or for developers.

Still haven't found an answer? Talk to us! Read how we communicate. We're here to answer all your questions.

Contribute

To keep diaspora* growing and improving we need all help we can get. Whether you can contribute code, ideas, translations, bug reports or simply extend the community as a helpful user or pod administrator, your help is welcome!

Everyone interacting in diasporas codebases, issue trackers, chat rooms, the wiki, and the Discourse is expected to follow the diaspora* code of conduct.

Security

See SECURITY.md for instructions on how to responsibly report a security vulnerability.

Description
No description provided
Readme AGPL-3.0 255 MiB
Languages
Ruby 64.7%
JavaScript 20.9%
Haml 4.8%
Gherkin 4.1%
SCSS 3.2%
Other 2.2%