AnkiFieldText
in package
FinalYes
Turns an Anki field into the plain text LWT stores.
Anki fields are HTML, and real shared decks lean on that heavily: <div>
wrappers, <b>/<span style=...> emphasis, <br> line breaks, ,
[sound:...] media references and {{c1::...}} cloze markers. Storing any
of it raw would put markup into the reading view and stop terms matching the
words in a text, so it is all reduced to text here.
Table of Contents
Methods
- toPlainText() : string
Methods
toPlainText()
public
static toPlainText(string $value) : string
Parameters
- $value : string