test/integration/zafu_compiler/urls.yml in zena-1.0.0 vs test/integration/zafu_compiler/urls.yml in zena-1.1.0

- old
+ new

@@ -127,20 +127,20 @@ src: "<r:link anchor='true'/>" res: "<a href='#node22'>status title</a>" link_anchor_title: old_src: "<r:link anchor='[name]'/>" - src: "<r:link anchor='#{title.urlencode}'/>" + src: "<r:link anchor='#{title.url_name}'/>" res: "<a href='#status-title'>status title</a>" link_anchor_in: src: "<r:link anchor='true' href='project' mode='tree'/>" res: "<a href='/oo/projects-list/Clean-Water-project_tree#node22'>status title</a>" link_anchor_name_in: old_src: "<r:link anchor='[name]' in='parent'/>" - src: "<r:link anchor='#{title.urlencode}' href='parent'/>" + src: "<r:link anchor='#{title.url_name}' href='parent'/>" res: "<a href='/oo/projects-list/Clean-Water-project#status-title'>status title</a>" link_stored: old_src: "<r:void store='foo'><r:parent><r:link href='foo' do='title'/></r:parent></r:void>" src: "<r:void set_foo='this'><r:parent><r:link href='foo' do='title'/></r:parent></r:void>" @@ -220,16 +220,24 @@ old_src: "<h2 do='title' link='pv.data'>super title</h2>" src: "<h2 do='link' live='true' mode='pv' format='data'/>" res: "<h2><a id='_title30' href='/en/image30_pv.jpg?967816914293'>bird</a></h2>" url_with_lang: + context: + visitor: lion src: "window.location = \"<r:url lang='fr'/>\";" - res: "/\\?lang=fr/" + res: "/\?lang=fr/" +url_with_prefix: + context: + visitor: lion + src: "window.location = \"<r:url prefix='fr'/>\";" + res: "/test.host/fr" + link_in_list_context: src: "<div do='nodes in site'><r:link/></div>" - tem: "/zen_path\(var1.first\).*var1.first.prop\['title'\]/" - res: '/a href.*a wiki with Zena/' + tem: "/zen_path\(@node\).*@node.prop\['title'\]/" + res: '/a href.*page22.html.*status title/' link_trans: src: "<r:link t='img_next_page'/>" res: "/a href.*/images/control_fastforward.png/" \ No newline at end of file