1
0

wikilinks: remove single quotes (straight apostrophe) from urls

This commit is contained in:
Simon Michael
2024-01-18 09:33:16 -10:00
parent 1eb0311aee
commit f813f23d2c
4 changed files with 5 additions and 4 deletions

View File

@@ -1,2 +1,3 @@
/Newcomer-FAQ /What-is-Plain-Text-Accounting /Newcomer-FAQ /What-is-Plain-Text-Accounting
/Getting-started-FAQ /FAQ /Getting-started-FAQ /FAQ
/Don't-Sink-Your-First-Attempts-at-Plaintext-Accounting /Dont-Sink-Your-First-Attempts-at-Plaintext-Accounting

View File

@@ -373,7 +373,7 @@ or help improve the [content](https://github.com/plaintextaccounting/plaintextac
- [hledger: Get Started](https://hledger.org/start.html) - [hledger: Get Started](https://hledger.org/start.html)
- [Getting Started with Beancount](https://beancount.github.io/docs/getting_started_with_beancount.html) - [Getting Started with Beancount](https://beancount.github.io/docs/getting_started_with_beancount.html)
- [Tackler: Quickstart](https://tackler.e257.fi/docs/quickstart/) - [Tackler: Quickstart](https://tackler.e257.fi/docs/quickstart/)
- [Don't Sink Your First Attempts at Plaintext Accounting](Don't-Sink-Your-First-Attempts-at-Plaintext-Accounting.html) h/ledger syntax tips for beginners - [[Don't Sink Your First Attempts at Plaintext Accounting]]
- [Program your Finances: Command-line Accounting](https://www.petekeen.net/keeping-finances-with-ledger) - [Program your Finances: Command-line Accounting](https://www.petekeen.net/keeping-finances-with-ledger)
- [Plain Text Accounting Workshop](https://github.com/colindean/plaintextaccounting_workshop) - [Plain Text Accounting Workshop](https://github.com/colindean/plaintextaccounting_workshop)
- [[Cookbook.html#getting-started|Cookbook: Getting started]] - [[Cookbook.html#getting-started|Cookbook: Getting started]]

View File

@@ -14,7 +14,7 @@ function Link(el)
if el.title == "wikilink" then if el.title == "wikilink" then
t = el.target .. "#" t = el.target .. "#"
t = t:gsub(" ", "-") t = t:gsub(" ", "-")
-- t = t:gsub(t, "'", "") t = t:gsub("'", "")
path, frag = t:match("([^#]*)#([^#]*)") path, frag = t:match("([^#]*)#([^#]*)")
t = path t = path
if not ( if not (