glutanimate / syntax-highlighting

A fork of Tiago Barroso's Syntax Highlighting add-on with support for Anki 2.1
https://ankiweb.net/shared/info/1463041493
Other
108 stars 27 forks source link

Cloze tag, e.g {{c1:: ...}} appears in the back template result. #41

Open lomoY opened 1 year ago

lomoY commented 1 year ago

Problem description

Please describe the issue concisely in here. In case of an error: Walk us through the steps you took to get there. What happened? What did you expect to happen? cloze tag, e.g {{c1:: ...}} appears in the back template result.

For example: I set List<Integer> x = {{c1:: new LinkedList<>()}}

The front part works properly like this List<Integer> x = [...] , but when when show the answer the result is List<Integer> x = {{c1:: new LinkedList<>()}} but I expect List<Integer> x = new LinkedList<>()

Checklist

Please replace the space inside the brackets with an x if the following items apply:

Information about your Anki set-up

Please fill out the section corresponding with your Anki version:

If you are using Anki 2.1

Please open Anki, go to Help → About, click on "Copy Debug Info", and paste the result between the backticks below (if the button does not appear you are using an older version of Anki 2.1 and will need to update first):

If you are using Anki 2.0

Please open Anki, go to Help → About, find the two lines starting with Version: and Qt, and copy-paste them between the backticks below:

Please fill in details about your operating system (Windows/macOS/Linux, which version):

Please open Anki, go to Tools → Add-ons, take a screenshot of your installed add-ons, and paste it below:

image

Error message (if any)

If you've received an error message, please copy and paste it between the backticks below: