JetBrains / markdown

Markdown parser written in kotlin
Apache License 2.0
706 stars 78 forks source link

Allow using https schema instead of http in links without schema #114

Closed dtretyakov closed 1 year ago

dtretyakov commented 1 year ago

Currently GFM generator appends http:// schema for links which is insecure:

https://github.com/JetBrains/markdown/blob/master/src/commonMain/kotlin/org/intellij/markdown/flavours/gfm/GFMFlavourDescriptor.kt#L67

Consider adding ability to use https:// during generation.