powered by
This function accepts a string and removes new line indentations and html tags with regex
clean_wiki(string)
The string to be cleaned
# NOT RUN { clean_wiki("<p>some text</p>") # }
Run the code above in your browser using DataLab