Skip to content

Conversation

@MorrisJobke
Copy link
Member

  • improves the list rendering for system report (see app list)

Before and after:

Bildschirmfoto 2019-05-06 um 12 10 55
Bildschirmfoto 2019-05-06 um 12 11 09

Be aware that this only works if the markdown editor app is not enabled.

… rendering

* improves the list rendering for system report (see app list)

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
.html(DOMPurify.sanitize(
marked(content, {
renderer: renderer,
gfm: false,
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is the only non-default value here. Default is true and thus it fixes the stuff in here.

OC_Util::addVendorScript('core', 'marked/marked.min');
OCP\Util::addScript('files_texteditor', 'public-share');
OCP\Util::addStyle('files_texteditor', '../build/public-share');
OCP\Util::addStyle('files_texteditor', 'public-share');
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like a wrong c&p because only JS is placed in there. SCSS is processed by NC and thus already at the correct location.

@MorrisJobke MorrisJobke requested a review from ChristophWurst May 6, 2019 10:14
@MorrisJobke
Copy link
Member Author

/backport to stable16

@MorrisJobke
Copy link
Member Author

/backport to stable15

@MorrisJobke
Copy link
Member Author

/backport to stable14

@backportbot-nextcloud
Copy link

backport to stable16 in #150

@backportbot-nextcloud
Copy link

backport to stable15 in #151

@backportbot-nextcloud
Copy link

backport to stable14 in #152

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants