jeremyevans / roda

Routing Tree Web Toolkit
http://roda.jeremyevans.net
MIT License
2.08k stars 141 forks source link

env['rack.errors'] parsed as a link in common_logger plugin documentation #284

Closed pama closed 2 years ago

pama commented 2 years ago

https://roda.jeremyevans.net/rdoc/classes/Roda/RodaPlugins/CommonLogger.html

The issue is in this particular line:

Logs to $stderr instead of env if explicit logger not passed

It should be:

Logs to $stderr instead of env['rack.errors'] if explicit logger not passed

I ran rdoc on that particular file, and I could not reproduce the issue.

pama commented 2 years ago

Actually, I was wrong and I can reproduce the issue. The markup needs to be escaped: \env['rack.errors']

jeremyevans commented 2 years ago

Thanks for the heads up! I'll fix this shortly.