Skip to content
This repository has been archived by the owner on Jan 4, 2021. It is now read-only.

Commit

Permalink
xda-one: fix links failing occasionaly
Browse files Browse the repository at this point in the history
* closes #11
  • Loading branch information
LalitMaganti committed Oct 14, 2014
1 parent fadeb5f commit 5bc0de9
Showing 1 changed file with 2 additions and 14 deletions.
16 changes: 2 additions & 14 deletions android/src/main/assets/xda.xml
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,6 @@
<coderef name="img2"/>

<!-- links -->
<coderef name="url1"/>
<coderef name="url2"/>
<coderef name="url3"/>
<coderef name="url4"/>
<coderef name="url5"/>
Expand Down Expand Up @@ -177,23 +175,13 @@
</scope>

<!-- HTTP -->
<code name="url1" priority="2">
<pattern ignoreCase="true">[url=<var name="protocol" regex="((ht|f)tps?:|\.{1,2})?"/>/<var name="url" scope="escapeXml"/>]<var
name="text" scope="url"/>[/url]</pattern>
<template>&lt;a href=&quot;<var name="protocol"/>/<var name="url"/>&quot;&gt;<var name="text"/>&lt;/a&gt;</template>
</code>
<code name="url2" priority="2">
<pattern ignoreCase="true">[url]<var name="protocol" regex="((ht|f)tps?:|\.{1,2})?"/>/<var name="url" scope="escapeXml"/>[/url]</pattern>
<template>&lt;a href=&quot;<var name="protocol"/>/<var name="url"/>&quot;&gt;<var name="protocol"/>/<var
name="url"/>&lt;/a&gt;</template>
</code>
<code name="url3" priority="1">
<pattern ignoreCase="true">[url=<var name="url" scope="escapeXml"/>]<var name="text" scope="url"/>[/url]</pattern>
<template>&lt;a href=&quot;http://<var name="url"/>&quot;&gt;<var name="text"/>&lt;/a&gt;</template>
<template>&lt;a href=&quot;<var name="url"/>&quot;&gt;<var name="text"/>&lt;/a&gt;</template>
</code>
<code name="url4" priority="1">
<pattern ignoreCase="true">[url]<var name="url" scope="escapeXml"/>[/url]</pattern>
<template>&lt;a href=&quot;http://<var name="url"/>&quot;&gt;<var name="url"/>&lt;/a&gt;</template>
<template>&lt;a href=&quot;<var name="url"/>&quot;&gt;<var name="url"/>&lt;/a&gt;</template>
</code>

<!-- MAILTO -->
Expand Down

0 comments on commit 5bc0de9

Please sign in to comment.