Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
| Comment: | Fix a markdown rendering bug reported by [forum:/forumpost/da5c5c4c31|forum post da5c5c4c31]. |
|---|---|
| Downloads: | Tarball | ZIP archive |
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA3-256: |
b4e50e9ace20f5a44eb110c6ac1cea8f |
| User & Date: | drh 2020-11-20 14:39:00.206 |
| Original Comment: | Fix a markdown rendering bug reported by [forum post 003837a178|forum:/forumpost/003837a178]. |
Context
|
2020-11-20
| ||
| 17:56 | New pikchr.c with improved text layout for cylinders. ... (check-in: 7c66565957 user: drh tags: trunk) | |
| 14:39 | Fix a markdown rendering bug reported by [forum:/forumpost/da5c5c4c31|forum post da5c5c4c31]. ... (check-in: b4e50e9ace user: drh tags: trunk) | |
| 00:53 | Fix a typo in the hashpolicy.wiki document. ... (check-in: 3b363b301f user: drh tags: trunk) | |
Changes
Changes to src/markdown.c.
| ︙ | ︙ | |||
512 513 514 515 516 517 518 |
}
*pI += (bt == span_nb) ? i : span_nb;
}
/* find_emph_char -- looks for the next emph char, skipping other constructs */
static size_t find_emph_char(char *data, size_t size, char c){
| | | 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 |
}
*pI += (bt == span_nb) ? i : span_nb;
}
/* find_emph_char -- looks for the next emph char, skipping other constructs */
static size_t find_emph_char(char *data, size_t size, char c){
size_t i = data[0]!='`';
while( i<size ){
while( i<size && data[i]!=c && data[i]!='`' && data[i]!='[' ){ i++; }
if( i>=size ) return 0;
/* not counting escaped chars */
if( i && data[i-1]=='\\' ){
|
| ︙ | ︙ |