]> git.proxmox.com Git - proxmox-widget-toolkit.git/commit
markdown parser: allow setting target tag for links
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Sat, 3 Jun 2023 11:07:54 +0000 (13:07 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Sat, 3 Jun 2023 11:41:23 +0000 (13:41 +0200)
commit2d04f0165d2adfc26bf7f492a937fc72fcb784c2
tree3ccf2d9036990b403827abe7064aa9f90499799f
parent5cbbb9c44a76cb0c1067df9692290e74c4ee921f
markdown parser: allow setting target tag for links

If one really want's to force a link to open in a new tab (or window,
depending on the browser settings).

Note that we don't set target to _blank by default for links, as
opening in a new tab can already simply be done via a middle-click on
the link without that, but once the target is set opening in the same
tab cannot easily be done, i.e., without a target set the reader has
more freedom and flexibility.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
src/Parser.js