(url, text)
| 803 | } |
| 804 | |
| 805 | function addLink(url, text) { |
| 806 | html.push('<a '); |
| 807 | if (angular.isDefined(target)) { |
| 808 | html.push('target="', |
| 809 | target, |
| 810 | '" '); |
| 811 | } |
| 812 | html.push('href="', |
| 813 | url.replace(/"/g, '"'), |
| 814 | '">'); |
| 815 | addText(text); |
| 816 | html.push('</a>'); |
| 817 | } |
| 818 | }; |
| 819 | }]); |
| 820 |
no test coverage detected