summaryrefslogtreecommitdiff
path: root/glfm_specification
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2022-07-18 15:09:08 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2022-07-18 15:09:08 +0000
commitcc1066db64a2a283a3d229b9bbb67c01716ca871 (patch)
treec5a518fabe9bb87b17a1f99b6c2616144170ebeb /glfm_specification
parent5c5d24f032b67d98452f391192386e330a0f880c (diff)
downloadgitlab-ce-cc1066db64a2a283a3d229b9bbb67c01716ca871.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'glfm_specification')
-rw-r--r--glfm_specification/example_snapshots/html.yml23
-rw-r--r--glfm_specification/example_snapshots/prosemirror_json.yml95
2 files changed, 89 insertions, 29 deletions
diff --git a/glfm_specification/example_snapshots/html.yml b/glfm_specification/example_snapshots/html.yml
index 6fef78c797f..6c05fbe744b 100644
--- a/glfm_specification/example_snapshots/html.yml
+++ b/glfm_specification/example_snapshots/html.yml
@@ -1292,8 +1292,7 @@
<copy-code></copy-code>
</div>
wysiwyg: |-
- <pre class="content-editor-code-block undefined code highlight"><code>
- </code></pre>
+ <pre class="content-editor-code-block undefined code highlight"><code></code></pre>
04_05__leaf_blocks__fenced_code_blocks__012:
canonical: |
<pre><code></code></pre>
@@ -1557,8 +1556,9 @@
</p></pre>
</td></tr></table>
wysiwyg: |-
- Error - check implementation:
- Cannot read properties of undefined (reading 'className')
+ <table><tbody><tr><td colspan="1" rowspan="1"><pre><p>**Hello**,
+ </p><p><em>world</em>.
+ </p></pre><p></p></td></tr></tbody></table>
04_06__leaf_blocks__html_blocks__002:
canonical: |
<table>
@@ -1810,11 +1810,12 @@
</div>
<p data-sourcepos="7:1-7:4" dir="auto">okay</p>
wysiwyg: |-
- <pre class="content-editor-code-block undefined code highlight"><code>
+ <pre><p><code>
import Text.HTML.TagSoup
main :: IO ()
- main = print $ parseTags tags</code></pre>
+ main = print $ parseTags tags
+ </code></p></pre>
<p>okay</p>
04_06__leaf_blocks__html_blocks__023:
canonical: |
@@ -4569,9 +4570,7 @@
<li data-sourcepos="7:1-7:3">c</li>
</ul>
wysiwyg: |-
- <ul bullet="*"><li><p>a</p></li><li><p></p><pre class="content-editor-code-block undefined code highlight"><code>b
-
- </code></pre></li><li><p>c</p></li></ul>
+ <ul bullet="*"><li><p>a</p></li><li><p></p><pre class="content-editor-code-block undefined code highlight"><code>b</code></pre></li><li><p>c</p></li></ul>
05_04__container_blocks__lists__019:
canonical: |
<ul>
@@ -7559,11 +7558,11 @@
07_01__gitlab_specific_markdown__footnotes__001:
canonical: ""
static: |-
- <p data-sourcepos="1:1-1:27" dir="auto">footnote reference tag <sup class="footnote-ref"><a href="#fn-1-9470" id="fnref-1-9470" data-footnote-ref>1</a></sup></p>
+ <p data-sourcepos="1:1-1:27" dir="auto">footnote reference tag <sup class="footnote-ref"><a href="#fn-1-9034" id="fnref-1-9034" data-footnote-ref>1</a></sup></p>
<section data-footnotes class="footnotes">
<ol>
- <li id="fn-1-9470">
- <p data-sourcepos="3:7-3:19">footnote text <a href="#fnref-1-9470" data-footnote-backref aria-label="Back to content" class="footnote-backref"><gl-emoji title="leftwards arrow with hook" data-name="leftwards_arrow_with_hook" data-unicode-version="1.1">↩</gl-emoji></a></p>
+ <li id="fn-1-9034">
+ <p data-sourcepos="3:7-3:19">footnote text <a href="#fnref-1-9034" data-footnote-backref aria-label="Back to content" class="footnote-backref"><gl-emoji title="leftwards arrow with hook" data-name="leftwards_arrow_with_hook" data-unicode-version="1.1">↩</gl-emoji></a></p>
</li>
</ol>
</section>
diff --git a/glfm_specification/example_snapshots/prosemirror_json.yml b/glfm_specification/example_snapshots/prosemirror_json.yml
index 736728586bb..0a8c15e9650 100644
--- a/glfm_specification/example_snapshots/prosemirror_json.yml
+++ b/glfm_specification/example_snapshots/prosemirror_json.yml
@@ -2502,13 +2502,7 @@
"attrs": {
"language": null,
"class": "code highlight"
- },
- "content": [
- {
- "type": "text",
- "text": "\n "
- }
- ]
+ }
}
]
}
@@ -2886,8 +2880,69 @@
]
}
04_06__leaf_blocks__html_blocks__001: |-
- Error - check implementation:
- Cannot read properties of undefined (reading 'className')
+ {
+ "type": "doc",
+ "content": [
+ {
+ "type": "table",
+ "attrs": {
+ "isMarkdown": null
+ },
+ "content": [
+ {
+ "type": "tableRow",
+ "content": [
+ {
+ "type": "tableCell",
+ "attrs": {
+ "colspan": 1,
+ "rowspan": 1,
+ "colwidth": null
+ },
+ "content": [
+ {
+ "type": "pre",
+ "content": [
+ {
+ "type": "paragraph",
+ "content": [
+ {
+ "type": "text",
+ "text": "**Hello**,\n"
+ }
+ ]
+ },
+ {
+ "type": "paragraph",
+ "content": [
+ {
+ "type": "text",
+ "marks": [
+ {
+ "type": "italic"
+ }
+ ],
+ "text": "world"
+ },
+ {
+ "type": "text",
+ "text": ".\n"
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "type": "paragraph"
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ }
04_06__leaf_blocks__html_blocks__002: |-
{
"type": "doc",
@@ -3304,15 +3359,21 @@
"type": "doc",
"content": [
{
- "type": "codeBlock",
- "attrs": {
- "language": null,
- "class": "code highlight"
- },
+ "type": "pre",
"content": [
{
- "type": "text",
- "text": "\nimport Text.HTML.TagSoup\n\nmain :: IO ()\nmain = print $ parseTags tags"
+ "type": "paragraph",
+ "content": [
+ {
+ "type": "text",
+ "marks": [
+ {
+ "type": "code"
+ }
+ ],
+ "text": "\nimport Text.HTML.TagSoup\n\nmain :: IO ()\nmain = print $ parseTags tags\n"
+ }
+ ]
}
]
},
@@ -9571,7 +9632,7 @@
"content": [
{
"type": "text",
- "text": "b\n\n"
+ "text": "b"
}
]
}