You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Merge branch 'feature/81+82-reml-lists-not-rendered-in-plain-text-or-rtf' into develop
Resolved conflicts:
* Src/ActiveText.UHTMLRenderer.pas
* Src/ActiveText.UMain.pas
* Src/ActiveText.UTextRenderer.pas
* Src/USourceGen.pas
* Src/UTextSnippetDoc.pas
All resolved in favour of the incoming changes from the feature branch.
Fixes#81. Fixes#82.
Copy file name to clipboardExpand all lines: Docs/Design/reml.html
+14-11
Original file line number
Diff line number
Diff line change
@@ -279,19 +279,19 @@ <h2>
279
279
</p>
280
280
<ulclass="half-spaced">
281
281
<li>
282
-
<codeclass="value"><p>...</p></code> – Renders the enclosed markup as a simple paragraph.
282
+
<codeclass="value"><p>...</p></code> – Renders the enclosed markup as a simple paragraph.
283
283
</li>
284
284
<li>
285
285
<codeclass="value"><heading>...</heading></code> – Renders the enclosed markup as a heading.
286
286
</li>
287
287
<li>
288
-
<codeclass="value"><ol>...</ol></code> – Renders the enclosed HTML as an ordered list. <spanclass="very-strong">Must</span> contain <codeclass="value"><li>...</li></code> blocks and nothing else.
288
+
<codeclass="value"><ol>...</ol></code> – Renders the enclosed markup as an ordered list.
289
289
</li>
290
290
<li>
291
-
<codeclass="value"><ul>...</ul></code> – Renders the enclosed HTML as an unordered list. <spanclass="very-strong">Must</span> contain <codeclass="value"><li>...</li></code> blocks and nothing else.
291
+
<codeclass="value"><ul>...</ul></code> – Renders the enclosed markup as an unordered list.
292
292
</li>
293
293
<li>
294
-
<codeclass="value"><li>...</li></code> – Renders the enclosed HTML as a list item. <spanclass="very-strong">Must</span> only be used within <codeclass="value"><ol>...</ol></code> and <codeclass="value"><ul>...</ul></code> blocks.
294
+
<codeclass="value"><li>...</li></code> – Renders the enclosed markup as a list item.
295
295
</li>
296
296
</ul>
297
297
<p>
@@ -308,7 +308,7 @@ <h2>
308
308
<codeclass="value"><ol>...</ol></code> and <codeclass="value"><ul>...</ul></code> blocks <spanclass="very-strong">must only</span> contain one or more <codeclass="value"><li>...</li></code> blocks.
309
309
</li>
310
310
<li>
311
-
<codeclass="value"><li>...</li></code> blocks <spanclass="very-strong">must not</span>contain <codeclass="value"><p>...</p></code>, <codeclass="value"><heading>...</heading></code>or other <codeclass="value"><li>...</li></code>blocks directly, but <em>may</em> contain <codeclass="value"><ol>...</ol></code> and <codeclass="value"><ul>...</ul></code> blocks.
311
+
<codeclass="value"><li>...</li></code> blocks <spanclass="very-strong">must</span>only be used within <codeclass="value"><ol>...</ol></code> and <codeclass="value"><ul>...</ul></code>blocks. <em>May</em> contain <codeclass="value"><p>...</p></code>and <codeclass="value"><heading>...</heading></code> blocks, but it is permitted to include text and inline tags directly without enclosing them one of the permitted blocks. Nested lists are permitted by including further <codeclass="value"><ul>...</ul></code> and <codeclass="value"><ol>...</ol></code> blocks.
312
312
</li>
313
313
<li>
314
314
All text <em>should</em> be embedded within <codeclass="value"><p>...</p></code>, <codeclass="value"><heading>...</heading></code> or <codeclass="value"><li>...</li></code> block level tags, e.g. <codeclass="value"><heading>heading</heading><p>text</p></code> or simply <codeclass="value"><p>text</p></code>.
Strictly speaking, the following example is invalid code – all occurrences of <codeclass="value">wrong</code> are in error because they are not contained within block tags.
However interpreting code <em>may</em> interpret this permissively. If this is done the text outside blocks <spanclass="very-strong">must</span> be interpreted as if it was enclosed in <codeclass="value"><p></code> and <codeclass="value"></p></code> tags. Therefore the above code would be interpreted as:
339
+
However interpreting code <em>may</em> interpret this permissively. If this is done the text outside blocks <em>should</em> be interpreted as if it was enclosed in <codeclass="value"><p></code> and <codeclass="value"></p></code> tags. Therefore the above code would be interpreted as:
In-line tags <spanclass="very-strong">must</span> be embedded inside a block level tag. E.g. <codeclass="value"><p>one<strong>two</strong>three</p></code>.
381
+
In-line tags <spanclass="very-strong">must</span> be embedded inside a valid block level tag. E.g. <codeclass="value"><p>one<strong>two</strong>three</p></code>.
379
382
</li>
380
383
<li>
381
384
Tags <spanclass="very-strong">must</span> match. E.g. <codeclass="value"><em></code> must be matched with <codeclass="value"></em></code>.
382
385
</li>
383
386
<li>
384
-
Tags may be nested, providing the tags match. E.g. <codeclass="value"><em>blah <var>blah</var></em></code> is valid but <codeclass="value"><em>blah <var>blah</em></var></code> is not.
387
+
Tags may be nested, providing the tags are balanced. E.g. <codeclass="value"><em>blah <var>blah</var></em></code> is valid but <codeclass="value"><em>blah <var>blah</em></var></code> is not.
0 commit comments