Univention Bugzilla – Bug 46890
Change description input format from HTML to Markdown
Last modified: 2021-05-03 21:39:27 CEST
Currently the self provider portals asks for HTML for the app description. This leads to simple copy & paste from text processing tools like Microsoft Word to the input field and yields HTML cluttered with useless class and style definitions that disturb the presentation of the texts in the App Center and on the App Catalog. To avoid this junk, we should change the input to only allow a simple markup like Markdown. During the save process this markdown is converted to HTML and saved to the .ini file. This way, we only change to process chain of how the HTML comes into the .ini file. The change would only involve the app provider portal. This may also solve the problem described in bug #45502.
Sounds great, but is there also a way to transform HTML back to Markdown? This is probably necessary to display the current values?
(In reply to Florian Best from comment #1) > Sounds great, but is there also a way to transform HTML back to Markdown? > This is probably necessary to display the current values? Mmh, yes you are right. It probably is better to work with the simple markup and save it. And everywhere, where HTML is needed, it is converted before use.