Comments (4)
You're right and that's a great suggestion.
The patch #370 was put out quickly
#381 is also related
Marking as a bug.
I have limited free time at the moment, but will make some time on the weekends.
PRs also welcomed if you have the time and interest.
#379 also mentions Blockquotes for reference
from raneto.
@Syndamia please check the latest main branch or newest NPM package v0.17.7 (should be published in 24 hours)
I loosened the aggressive sanitization because while security is good it's massively affecting the usability like you mentioned.
Related commit: 863aaf5
Opinion: Security good, but many users are not (hopefully) letting any public visitor edit. Only trusted members / employees / etc
from raneto.
Hello, I'm sorry for the very late response.
Inline HTML
All inline HTML still seems to get escaped. Definition lists seem to be completely unsupported (before I think they were properly parsed and rendered while editing, but then didn't show up on a saved page).
Backticks & quoteblocks
Backticks and quoteblocks seem fixed.
Quotes in metadata
Quotes in metadata still cause issues. Quotes in Title will be saved as-is, while description will be surrounded with single quotes:
---
Title: Test "Number 4"
Description: '"Something important"'
---
This seems to cause issues for the UI, it looks as if any (single or double) quoted text in a metadata block is disregarded. The metadata fields of the aforementioned Markdown looks like this when editing:
P.S. On version 0.17.8 all pages disappear from the left "menu", even when I add a new page. No, they're not just hidden by the styling, the HTML for them doesn't even exist.
For this reason, all testing was done on 0.17.7
from raneto.
Thank you for the detailed update!
I'll look further into this. Seems like the foundation needs a rework, it has been well over 10 years and can use some attention.
from raneto.
Related Issues (20)
- Page meta "description" tag is not present
- Bug: Markdown Editor vs Rendered HOT 1
- Bug: Saving Markdown Document HTML-encodes entities
- Strange 'undefined' in "Edit" link HOT 5
- Blockquotes? HOT 3
- Backticks are replaced with ` in the editor HOT 2
- [feature request] Adding color support? HOT 2
- Netlify Support HOT 1
- [bug] Saving too much text causes 413 error
- 'Add Page' does not add new .md file HOT 3
- How I package it into a format suitable for Github Page HOT 2
- docs or dumb user: Can't successfully make template changes HOT 2
- Sort order for alphabetical page sorting is reversed HOT 1
- Table of contents doesn't generate id for titles
- Expired Certificates on raneto.com HOT 1
- How to use the document I've uploaded HOT 1
- Bug: Editor does not fully scroll on long documents
- VOTE: New Updated Site Designs HOT 2
- How to enable Chinese language support for searching? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from raneto.