|
|
@ -1103,8 +1103,9 @@ public class HtmlHelper {
|
|
|
|
// Replace addresses by link
|
|
|
|
// Replace addresses by link
|
|
|
|
// https://developer.mozilla.org/en-US/docs/Web/HTML/Element/address
|
|
|
|
// https://developer.mozilla.org/en-US/docs/Web/HTML/Element/address
|
|
|
|
for (Element address : document.select("address"))
|
|
|
|
for (Element address : document.select("address"))
|
|
|
|
address.tagName("a")
|
|
|
|
if (address.select("a").size() == 0)
|
|
|
|
.attr("href", "geo:0,0?q=" + Uri.encode(address.text()));
|
|
|
|
address.tagName("a")
|
|
|
|
|
|
|
|
.attr("href", "geo:0,0?q=" + Uri.encode(address.text()));
|
|
|
|
|
|
|
|
|
|
|
|
// Paragraphs
|
|
|
|
// Paragraphs
|
|
|
|
for (Element p : document.select("p")) {
|
|
|
|
for (Element p : document.select("p")) {
|
|
|
|