Difference between revisions of "Template:Git file"
Fix broken urls. Slash must be encoded otherwise it tries to open the first part of the url instead of the actual fil epath
>Automatik |
>Krinkle (Fix broken urls. Slash must be encoded otherwise it tries to open the first part of the url instead of the actual fil epath) |
||
Line 5: | Line 5: | ||
|{{{branch}}} | |{{{branch}}} | ||
|HEAD | |HEAD | ||
}}/{{urlencode:{{{file|}}} | }}/{{urlencode:{{{file|}}}}}{{#if:{{{line|}}} | ||
|#L{{{line}}} | |#L{{{line}}} | ||
}} {{#if:{{{text|}}} | }} {{#if:{{{text|}}} |