Mark H. Wilkinson
|
e1a7af4c92
|
Fix regression with rendering links in Markdown.
|
2017-10-16 14:40:07 +01:00 |
|
Owen Conti
|
60e8091eed
|
Add unit test for images in markdown
|
2017-10-08 10:26:32 -06:00 |
|
Owen Conti
|
729fd71546
|
Fixes #3734
Add <h1> and <h2> elements to sanitizer options.
|
2017-10-08 09:09:29 -06:00 |
|
Owen Conti
|
590819ad9b
|
Fixes swagger-editor/#1502.
Change logic for markdown rendering to:
1. Convert source markdown to HTML
2. Sanitize HTML
3. Send sanitized HTML to markdown renderer
|
2017-09-27 18:05:12 -06:00 |
|
Kyle Shockey
|
f7018bc78f
|
Merge branch 'master' of github.com:swagger-api/swagger-ui into ft/oas3
|
2017-07-28 19:13:24 -07:00 |
|
shockey
|
6ec7006c21
|
Update markdown.jsx
|
2017-07-14 17:28:36 -07:00 |
|
Owen Conti
|
914b21f228
|
Revert back to the 'breaks' fix for newlines in markdown content
|
2017-07-10 19:23:18 -06:00 |
|
Owen Conti
|
b11399a57e
|
Revert original fix and implement fix from @1Map
|
2017-07-10 17:39:05 -06:00 |
|
Owen Conti
|
5d9ab6a0a2
|
Fixes #3078 - Added breaks: true to Remarkable so newlines are rendered as line breaks. Remove margin-top from <p> tags within .model elements to fix the alignment in the model's description text.
|
2017-07-08 10:48:52 -06:00 |
|
Kyle Shockey
|
4e80e292b2
|
Merge branch 'master' into ft/oas3
|
2017-07-04 23:50:00 -07:00 |
|
Kyle Shockey
|
8ed43a1329
|
Ensure OAS3 Markdown fields are sanitized
|
2017-07-04 19:12:43 -07:00 |
|
RVKen
|
d36f0a6dbd
|
fix eslint issues
|
2017-06-29 04:37:19 +02:00 |
|
Kyle Shockey
|
21100a0a8b
|
Don't render Markdown if input or sanitized input is empty
|
2017-06-22 22:05:38 -07:00 |
|
Kyle Shockey
|
a9d4f5efde
|
Add filter to un-double-escape quotation marks
|
2017-06-07 12:52:59 -07:00 |
|
Kyle Shockey
|
bec97cfaf5
|
Fix style error
|
2017-06-01 22:24:31 -07:00 |
|
Kyle Shockey
|
af2b1e20f1
|
Sanitize Markdown inputs
|
2017-06-01 22:14:44 -07:00 |
|
Kyle Shockey
|
23b1a8aabd
|
Finish rewiring Markdown provider
|
2017-06-01 21:41:28 -07:00 |
|