Zim

Option to disable all autolinking

Bug #585301 reported by dotancohen
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Zim
Invalid
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+)?)?)?'

Revision history for this message
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
Revision history for this message
Jaap Karssenberg (jaap.karssenberg) wrote :

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
Revision history for this message
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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.