Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Customer text formatting #45

Closed
2 of 4 tasks
adi-de-masi opened this issue Nov 8, 2018 · 2 comments
Closed
2 of 4 tasks

Customer text formatting #45

adi-de-masi opened this issue Nov 8, 2018 · 2 comments
Labels
Feature Request Missing functionality and changes

Comments

@adi-de-masi
Copy link

Main topic

  • Technical understanding
  • Missing documentation
  • Contributing and community
  • other: __________

Precise and short description of your question

Today, we allow the customers to format their descriptions with a limited set of html tags. This is error prone and not very reliable. Is it foreseen to offer custom formatting in swissRETS? If yes, which formatting language should be supported, and how do we know which elements allow such formatting?

@jaggli
Copy link
Contributor

jaggli commented Nov 10, 2018

We definitely need this and we should not use HTML for this. HTML would already suggest the use case of the standard - which it shouldn't
Let's think about

  • Mobile Apps
  • Desktop Software
  • Security (embedding tags somewhere is and will always be tricky)
  • Other thing, that use the standard, without being in touch with HTML

Suggestion

We should use Markdown for this and disallow markup and links
Let's define a minimal set of Markdown features to enable

  • Bold
  • Unordered-Lists
  • ...do we need more?

(not sure if we need italic, probably not)

How we know which elements allow such formating

  • defined in the XSD
  • maybe like this <description content-type="markdown">

@jaggli jaggli added the Feature Request Missing functionality and changes label Nov 12, 2018
@jaggli
Copy link
Contributor

jaggli commented Nov 15, 2018

We will

  • do nothing

@jaggli jaggli closed this as completed Nov 15, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature Request Missing functionality and changes
Projects
None yet
Development

No branches or pull requests

2 participants