NotePlan / NotePlan/plugins

Templating: prompt text including commas does not work properly

Offen
#392 1 Kommentar 1 Reaktion 1 zugewiesene Person Auf GitHub ansehen

@mikeerickson arbeitet bereits daran.

Seit 16.1.2023.

Vorherrschende Sprache
JavaScript
Sterne
204
Forks
82
Ø Merge
22 Std. 27 Min.
Gemergte PRs (30 T.)
3

Beschreibung

<%- prompt('Growth_Duration','What is the growth duration? (d,w,M)') %>

I expect this to ask me "What is the growth duration? (d,w,M)"
...what I get is:
Screen Cap 2023-01-16 at 09 39 54@2x

seems there must be some string.splitting on commas going on that is not honoring the quote.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Erste Schritte

  1. Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
  3. Forke das Repository und arbeite in einem Branch.
  4. Öffne einen Pull Request, der die Issue-Nummer nennt.

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.