Rename strict emphasis flag again
'Cause I can and I like pretty names
This commit is contained in:
parent
d2ffc352f4
commit
bb9dbe8b5f
2 changed files with 2 additions and 2 deletions
|
@ -418,7 +418,7 @@ parse_emph1(struct buf *ob, struct render *rndr, char *data, size_t size, char c
|
|||
|
||||
if (data[i] == c && !isspace(data[i - 1])) {
|
||||
|
||||
if (rndr->ext_flags & MKDEXT_STRICT_EMPHASIS) {
|
||||
if (rndr->ext_flags & MKDEXT_NO_INTRA_EMPHASIS) {
|
||||
if (!(i + 1 == size || isspace(data[i + 1]) || ispunct(data[i + 1])))
|
||||
continue;
|
||||
}
|
||||
|
|
|
@ -33,7 +33,7 @@ enum mkd_autolink {
|
|||
};
|
||||
|
||||
enum mkd_extensions {
|
||||
MKDEXT_STRICT_EMPHASIS = (1 << 0),
|
||||
MKDEXT_NO_INTRA_EMPHASIS = (1 << 0),
|
||||
MKDEXT_TABLES = (1 << 1),
|
||||
MKDEXT_FENCED_CODE = (1 << 2),
|
||||
MKDEXT_AUTOLINK = (1 << 3),
|
||||
|
|
Loading…
Reference in a new issue