foundeo / cfdocs

Repository for the cfdocs.org site.
https://cfdocs.org/
Other
180 stars 341 forks source link

Auto Link Should Ignore #1517

Open pfreitag opened 2 years ago

pfreitag commented 2 years ago

Problem:

Auto link function will automatically link words that match the name of a function to that doc page. Sometimes a word that is a function such as log has another meaning and should be ignored.

Examples:

https://cfdocs.org/cflog

Please add a comment with any other functions that should be ignored.

pczarn2 commented 1 year ago

Found this one: https://cfdocs.org/writelog

pczarn2 commented 1 year ago

Another one, the inline attribute autolinks "location", which is not what's intented in the context: https://cfdocs.org/trace

pczarn2 commented 1 year ago

And same for corresponding https://cfdocs.org/cftrace

pczarn2 commented 1 year ago

Found another one: https://cfdocs.org/listlen autolinks to "empty" function, but when I look at the "empty" documentation, I see that function has been deprecated.

pczarn2 commented 1 year ago

This could be another candidate. On https://cfdocs.org/valuelist page, there is an autolink to evaluate function. Evaluate function states that it's use is discouraged due to security concerns.