mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-06-09 16:17:40 +00:00
fix various typos (#7690)
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/7690 Reviewed-by: Gusted <gusted@noreply.codeberg.org> Reviewed-by: floss4good <floss4good@noreply.codeberg.org> Reviewed-by: Beowulf <beowulf@beocode.eu> Co-authored-by: Ellen Emilia Anna Zscheile <fogti+devel@ytrizja.de> Co-committed-by: Ellen Emilia Anna Zscheile <fogti+devel@ytrizja.de>
This commit is contained in:
parent
9e70ff57b4
commit
a0cc05ba92
9 changed files with 21 additions and 22 deletions
|
@ -96,12 +96,12 @@ func (parser *inlineParser) Parse(parent ast.Node, block text.Reader, pc parser.
|
|||
if len(line) <= pos {
|
||||
break
|
||||
}
|
||||
suceedingCharacter := line[pos]
|
||||
succeedingCharacter := line[pos]
|
||||
// check valid ending character
|
||||
if !isPunctuation(suceedingCharacter) &&
|
||||
(suceedingCharacter != ' ') &&
|
||||
(suceedingCharacter != '\n') &&
|
||||
!isBracket(suceedingCharacter) {
|
||||
if !isPunctuation(succeedingCharacter) &&
|
||||
(succeedingCharacter != ' ') &&
|
||||
(succeedingCharacter != '\n') &&
|
||||
!isBracket(succeedingCharacter) {
|
||||
return nil
|
||||
}
|
||||
if line[ender-1] != '\\' {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue