Remove rest of the now unused emoji code

See #11598
This commit is contained in:
Bjørn Erik Pedersen
2023-10-25 11:31:01 +02:00
parent 272484f8bf
commit c4a530f104
4 changed files with 20 additions and 31 deletions

View File

@@ -631,7 +631,6 @@ func (p *pageState) wrapError(err error) error {
}
return herrors.NewFileErrorFromFile(err, filename, p.s.SourceSpec.Fs.Source, lineMatcher)
}
func (p *pageState) getContentConverter() converter.Converter {
@@ -674,7 +673,6 @@ func (p *pageState) mapContentForResult(
markup string,
withFrontMatter func(map[string]any) error,
) error {
iter := result.Iterator()
fail := func(err error, i pageparser.Item) error {
@@ -792,9 +790,6 @@ Loop:
s.shortcodes = append(s.shortcodes, currShortcode)
rn.AddShortcode(currShortcode)
case it.Type == pageparser.TypeEmoji:
rn.AddBytes(it)
case it.IsEOF():
break Loop
case it.IsError():