All files named "test/markdown-test3.md"
Not logged in

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

History for test/markdown-test3.md

2022-11-16
20:05
Fix harmless typos reported by [forum:/forumpost/15f7327318|forum post 15f7327318]. file: [70e697a5e9] check-in: [f3adbd8874] user: drh branch: trunk, size: 8401
2022-06-22
12:35
Fix a minor footnotes-related bug that was discovered by Stephan: if a free-standing footnote reference follows immediately after the exclamation mark then parse that as a footnote (and not as an image). This check-in also postpones initialization of a few local variables within char_link() function (which may save a few CPU cycles). file: [045ad3a5c3] check-in: [97b28feae3] user: george branch: trunk, size: 8403
2022-04-22
12:49
Remove redundant assert() that fails for the case when the content of a span-bounded inline footnote is rendered into a void. This is a corner case that was revealed via fuzzing. file: [579dd8cccf] check-in: [cab8a586ae] user: george branch: markdown-footnotes, size: 8110
2022-04-21
22:31
Add a test case for fragment-bounded footnote that contains markup within the corresponding text fragment. file: [f52e58ccd2] check-in: [d38ec43d00] user: george branch: markdown-footnotes, size: 8035
2022-02-23
07:36
Fix handling of user-provided classes for unreferenced, joined and overnested footnotes. In all these cases the tokens of user-provided classes are rendered as plain-text and no special classes are added anywhere. file: [eb22620b4d] check-in: [875472a8b0] user: george branch: markdown-footnotes, size: 7893
2022-02-21
04:29
Impose a limit on the depth of nesting of inline footnotes. Also add a few test cases: for depth limiting and HTML hijacking. file: [5b12f022f3] check-in: [f4ff013ace] user: george branch: markdown-footnotes, size: 7368
2022-02-19
01:00
Handle some corner cases more thoroughly: dismiss empty footnotes, passthrough (more carefully) user-provided classlist if the token is not followed by a blank character or if a footnote's text consists just of such token and blank characters. Also simplify a little bit a few places inside of is_footnote() function. file: [d8b201e3ec] check-in: [fe3157803f] user: george branch: markdown-footnotes, size: 6231
2022-02-17
22:09
If a footnote's text starts with a token of the special form then use this token to derive a set of CSS classes that are added to that footnote and its references. This enables users to style elements of a particular footnote provided that the administrator provisioned and documented some special CSS classes in a custum skin. Default skin does not provide any of such special classes which makes this feature an "opt-in". file: [8bee0450ee] check-in: [92516ced8b] user: george branch: markdown-footnotes, size: 5384
2022-02-12
20:52
If markup is ambigous between a "span-bounded" footnote and a "free-standing" footnote followed by another footnote then interpret as the later case. file: [a9fe2039dc] check-in: [b363a4dbe7] user: george branch: markdown-footnotes, size: 3875
2022-02-10
23:00
Clean-up and polish relevant CSS and HTML's class names. Insure visual spacing between footnotes' markers so that numbers are distinguishable when multiple footnotes in a row are used. Factor out auxiliary decorations from HTML into the default CSS, to enable customization via skins. file: [5cbf9f2429] check-in: [2b1375abad] user: george branch: markdown-footnotes, size: 3463
2022-02-09
22:59
Handle unreferenced footnotes. If a labeled footnote is defined but there are no references to it, then add a special item at the end of footnotes. This item includes a label and the text of the strayed footnote - both rendered verbatim via html_escape(). Default skin makes such items visible and easily distinguishable. The order of such items match the order in the underlying source code. file: [6c926891a7] check-in: [ada55cd45a] user: george branch: markdown-footnotes, size: 3332
2022-02-08
14:04
If several footnotes are defined with the same label then join them into a single footnote. Text from each definition becomes an item in the list. This solution makes such situations noticable for the usual case (when this is an oversight) but also not obtrusive for the rare cases (when this is intentional). The list is provided with a special class to enable styling via skin customization.
This check-in is known to cause crash, see the forthcoming check-in.
file: [78dfb41dfd] check-in: [544df852b2] user: george branch: markdown-footnotes, size: 2767
2022-02-06
22:53
Handle misreferences more thoroughly. Implement support of footnotes-within-footnotes with (hopefully) proper crosslinking (that's where it's getting tricky). file: [7f71c542b1] check-in: [1787f6df11] user: george branch: markdown-footnotes, size: 2520
2022-02-04
23:07
Handle misreferences: a reference to undefined footnote. file: [5864be4613] check-in: [28e6a9cd13] user: george branch: markdown-footnotes, size: 1944
19:08
Added: Add file test/markdown-test3.md that is suggested as an accumulator of footnotes-specific test cases. file: [9592293bb0] check-in: [fe9e6ff9eb] user: george branch: markdown-footnotes, size: 1455