Zim

Option to disable all autolinking

Bug #585301 reported by dotancohen on 2010-05-25
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Zim
Undecided
Unassigned

Bug Description

There should be an option to disable links on colons, such as this ":text "

I have disabled "Automatically turn CamelCase words into links" and "Automatically turn file paths into links" however this text creates links to pages "alpha" and "alnum":
$ egrep 'https?://(:alpha:([-[:alnum:]]+:alnum:)*\.)+:alpha:{2,3}(:\d+)?(/([-\w/_\.]*(\?\S+)?)?)?'

dotancohen (dotancohen) wrote :

I found another example. this code:
$ ifconfig|while read i;do [[ $i =~ inet.*B ]]&&r=${i%%B*}&&echo ${r/*[tr]:/};done

got parsed into this:
ifconfig|while read i;do $i =~ inet.*B &&r=${i%%B*}&&echo ${r/*[tr]:/};done

Please, make an option to disable all autolinking! It turns out that I have tens of code samples that are now corrupted. I don't think that I can get the data back as I have been removing links as I discover them, not noticing that key characters such as parenthesis are now missing. This is a huge dataloss issue.

summary: - Option to disable links on colons
+ Option to disable all autolinking

The problem here is that there is no way to store this in wiki text cleanly unless it is escaped. This is what the "verbatim" style is for. This is a design limitation of the wiki syntax.

Changed in zim:
status: New → Invalid
HansBKK (hansbkk) wrote :

Perhaps a solution for these and other related issues will come as a side-effect if/when Zim will allow for internal syntaxes.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers