Needs review
Project:
Custom Formatters
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
22 Feb 2018 at 18:08 UTC
Updated:
3 Nov 2018 at 03:24 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
bkosborneComment #3
josephr5000 commentedI think the #2 patch might have a couple of errors:
1. There isn't an
$m[5]group. The intention (per the comment) is to adjust line numbering, so what's needed is$m[1](the line number) minus 5, or($m[1] - 5).2. I think
":$m[2]"is a typo. The intention is to render the $m[2] group, not the literal string"$m[2]", so":" . $m[2]will do that.Attaching #3 patch with these fixes.
Comment #4
josephr5000 commentedOops, typo in function signature. Patch #4 attached.