Signed-off-by: Miek Gieben <miek@miek.nl>
This commit is contained in:
Miek Gieben 2018-08-03 17:16:34 +01:00
parent 6f77bf5ca9
commit 317d4b4b09
1 changed files with 2 additions and 2 deletions

View File

@ -8,11 +8,11 @@ import (
// citation parses a citation. In its most simple form [@ref], we allow multiple
// being separated by semicolons and a sub reference inside ala pandoc: [@ref p. 23].
// Each citation can have a modifier: !, ? or - wich mean;
// Each citation can have a modifier: !, ? or - wich mean:
//
// ! - normative
// ? - formative
// - - suppress
// - - suppressed
func citation(p *Parser, data []byte, offset int) (int, ast.Node) {
// look for the matching closing bracket
i := offset + 1