Mercurial > hg > nginx-site
comparison xsls/link.xsls @ 52:666e85596e3c
Added support for <link url="..."> which should eventually replace
<a href="..."> and renamed <http-error> to <http-status>.
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Mon, 03 Oct 2011 11:56:50 +0000 |
parents | 2bcfb5f75e06 |
children | 12f1de4539b4 |
comparison
equal
deleted
inserted
replaced
51:d1e8781b9c5f | 52:666e85596e3c |
---|---|
62 | 62 |
63 X:template = "a" { <a href="{@href}"> !!; </a> } | 63 X:template = "a" { <a href="{@href}"> !!; </a> } |
64 | 64 |
65 X:template = "img" { <img src="{@href}"> !!; </img> } | 65 X:template = "img" { <img src="{@href}"> !!; </img> } |
66 | 66 |
67 X:template = "link[@url]" { <a href="{@url}"> !!; </a> } | |
68 | |
67 } | 69 } |