Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • Smilodon Smilodon
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 8
    • Issues 8
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • libertyliberty
  • hosthost
  • SmilodonSmilodon
  • Merge requests
  • !3

Accept richer text from remote posts

  • Review changes

  • Download
  • Email patches
  • Plain diff
Closed Thibaut Girka requested to merge ThibG/smilodon:liberty-richtext into liberty Apr 30, 2019
  • Overview 1
  • Commits 7
  • Pipelines 1
  • Changes 16

Support abbr, del, pre, blockquote, code, strong, b, em, i, u, ul, ol, li and h1 to h5 tags in remote posts.

Such posts can already be authored in Pleroma and other software, and would currently look something like:

Improperly formatted post (as currently displayed)

image

This PR makes it so it is displayed like this:

image

The PR also includes a couple options to visually fallback to a text representation (through client-side CSS):

Block tags “stripped”

image

Everything “stripped”

image

Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: liberty-richtext