Skip to content

Change profile field value to not include <p>

What does this MR do?

Removes the top <p> element added in the field value by MfmService's toHtml. This uses a new inline argument (stolen from toMastoApiHtml).

This fixes Mastodon field link verification.

The top element must be a single <a> in order for verification to work on Mastodon. (as a matter of fact, text-only field values also don't include any elements, so it becomes more consistent in here...)

See discussion at #1123 (comment 15651)

Closes #1123 (closed)

Contribution Guidelines

By submitting this merge request, you agree to follow our Contribution Guidelines

  • I agree to follow this project's Contribution Guidelines
  • I have made sure to test this merge request
Edited by Nay

Merge request reports

Loading