Преглед изворни кода

Allow source field in patterns to render HTML

tags/v0.2.0
Garrick Aden-Buie пре 8 година
родитељ
комит
cb8807526c
1 измењених фајлова са 1 додато и 1 уклоњено
  1. +1
    -1
      R/regex_gadget.R

+ 1
- 1
R/regex_gadget.R Прегледај датотеку

@@ -260,7 +260,7 @@ regex_gadget <- function(text = NULL,
tags$pre(tp$regex),
if (!is.null(tp$source)) tags$p(
"Source:",
if (grepl(rx_url, tp$source)) tags$a(href = tp$source, tp$source) else tp$source
if (grepl(rx_url, tp$source)) tags$a(href = tp$source, tp$source) else HTML(tp$source)
)
)
})

Loading…
Откажи
Сачувај