broxen
12aef93cd6
fix: remove excess div wrappers ( #4528 )
...
* Removing superfluous div wrapping
It seems like standalone text is already wrapped in paragraph elements, so this code seems superfluous. Additionally, it adds div wrappers at every line break as described in #4524
* Fix for newlines and returns
This change skips newlines and returns to focus on unbounded text only.
* misc: fix indentation
* misc: fix indentation (2)
Co-authored-by: Nicolas Giard <github@ngpixel.com>
3 years ago
broxen
db73b650c9
fix: issue with Custom Header IDs ( #4527 )
...
Fix the issue described in discussion #3502 regarding header links and TOC failing to properly generate when header ID is custom defined.
3 years ago
LK HO
a20f70ed8d
fix: rendering/html-core - null checks ( #3823 )
4 years ago
NGPixel
d75c5532d1
fix: handle raw mustache expressions over multiple lines
4 years ago
NGPixel
5ffa189383
fix: add v-pre to pre tags at render time
4 years ago
Chris
a6bf2412d7
fix: superscript typo in module definition.yml ( #2577 )
...
Fix spelling of "superscript"
***NO_CI***
4 years ago
Nicolas Giard
04a1896811
fix: revert refactor in markdown-kroki and plantuml modules ( #2619 )
4 years ago
Jafar Akhondali
5ba36ee421
refactor: server code ( #2545 )
...
+ Remove duplicated await
+ Replace some legacy codes with ES6
+ Fix some of eslint problems
4 years ago
Иван
79c5b8fac2
fix: security html module removes allow attribute from iframes ( #2354 )
...
* fix: secure html module removes allowfullscreen, allow and frameborder attributes from iframes
* Apply suggestions from code review
fix: remove deprecated attributes for iframe in secure html module
Co-authored-by: Nicolas Giard <github@ngpixel.com>
4 years ago
NGPixel
8f6cba262f
fix: draw.io svgs are no longer removed with linebreaks ( #2415 )
4 years ago
NGPixel
52d0af19b4
feat: diagram rendering + post-processor (wip)
5 years ago
Regev Brody
41327dd1e8
feat: support MultiMarkdown tables ( #2126 )
5 years ago
NGPixel
b723d7d626
fix: markdown core props + styles/scripts permissions
5 years ago
Regev Brody
77086a6e0a
feat: optional kroki/plantuml svg caching ( #2047 )
...
* feat: Caching kroki svgs #2020
5 years ago
Regev Brody
e03a80dccc
feat: underline markdown support ( #2073 )
...
* fix: no markdown support for underline #2072
5 years ago
Nicolas Giard
9e08718ee9
Merge pull request from GHSA-9jgg-4xj2-vjjj
5 years ago
Regev Brody
037822b994
fix: secure html module removes target attribute from links ( #2012 )
5 years ago
NGPixel
887e8a0f5a
feat: comments disqus + commento
5 years ago
Robert Lanyi
a581d9837a
feat: add Kroki renderer ( #1900 )
...
* feat: Kroki integration
see https://kroki.io/
* fix: markdown-kroki def updates
Co-authored-by: Nicolas Giard <github@ngpixel.com>
5 years ago
NGPixel
1a33a43a0d
fix: use semver for latest version check
5 years ago
NGPixel
53da387082
feat: plantuml in markdown preview
5 years ago
NGPixel
98bf0d9ccb
fix: escape mustache template chars in content
5 years ago
NGPixel
6a4b25bc28
fix: plantuml deflate raw
5 years ago
daneallen
4aa7828a92
fix: add rel option to external links in content ( #1853 )
...
* #1853 : XSS attack fix by adding rel noferrer or rel noopen to _blank target external links
* fix: relAttributeExternalLink noopener
Co-authored-by: danallendds <daniel.allen@friends.dds.mil>
Co-authored-by: Nicolas Giard <github@ngpixel.com>
5 years ago
NGPixel
c81ba5a503
fix: markdown footnotes id incorrectly stripped
5 years ago
NGPixel
281172a9f4
feat: mathjax markdown module
5 years ago
NGPixel
954262f517
fix: tabs renderer remove switchTab handler
5 years ago
NGPixel
5d43f6ada1
feat: content tabs
5 years ago
NGPixel
514d31a46d
feat: hide sidebar option
5 years ago
NGPixel
17f833509f
fix: html sanitizer - whitelist start prop for ol tag
5 years ago
NGPixel
2ff3abe0d8
fix: html sanitizer - whitelist i tag
5 years ago
NGPixel
5229390d87
fix: plantuml default markers
5 years ago
NGPixel
5f382f21cf
fix: enable mermaid by default
5 years ago
NGPixel
1d16a3fc71
feat: mermaid support for markdown
5 years ago
NGPixel
44a0f69a78
feat: katex chemical equations support
5 years ago
NGPixel
58b08e54b4
fix: missing footnote module in markdown editor preview
5 years ago
NGPixel
bacbe4f543
fix: whitelist task list checkboxes
5 years ago
NGPixel
b529ad21c9
fix: code blocks incorrect escaping + deps update
5 years ago
NGPixel
2810f7b5af
feat: use local assets for twemoji
5 years ago
NGPixel
830f51664c
feat: katex in markdown preview + xss fix for svg
5 years ago
Nicolas Giard
fba9e0058f
fix: allow figcaption in xss module
5 years ago
NGPixel
2d06a1d9df
fix: set open external link in new tab as an option
5 years ago
Lukáš Hrdlička
fc79d92423
feat: open external link in new tab ( #1453 )
5 years ago
NGPixel
09554c8528
fix: add missing html tags to whitelist
5 years ago
NGPixel
90fbc62917
fix: kbd xss whitelist
5 years ago
alancnet
73da73a595
fix: allow highlight color ( #1365 )
5 years ago
NGPixel
0755c538ed
fix: html rendering order param + decodeEntities
5 years ago
NGPixel
edd11cd73f
feat: make relative links root absolute option
5 years ago
NGPixel
82376c19b9
fix: render system link detection resets on each find
5 years ago
Scott Simontis
bb03aed1c8
fix: exclude tel: links from parsing #1318 ( #1344 )
...
Telephone links will no longer be incorrectly parsed as web links.
Signed-off-by: Scott Simontis <yo@scottsimontis.io>
5 years ago