Description Usage Arguments Format Details Inherit Methods See Also
Class to remove html tags.
1 2 3 | StripHTMLPipe$new(propertyName = "",
alwaysBeforeDeps = list(),
notAfterDeps = list())
|
propertyName |
(character) Name of the property associated with the pipe. |
alwaysBeforeDeps |
(list) The dependences alwaysBefore (pipes that must be executed before this one). |
notAfterDeps |
(list) The dependences notAfter (pipes that cannot be executed after this one). |
An object of class R6ClassGenerator
of length 24.
The pipe will invalidate the instance in the moment that the resulting data is empty.
This class inherits from PipeGeneric
and implements the
pipe
abstract function.
pipe Function that preprocesses the instance to remove html tags.
Usage
pipe(instance)
Value
The instance with the modifications that have occurred in the pipe.
Arguments
instance (Instance) Instance to preprocess.
getDataWithOutHtml Function to gets the data without html tags
Usage
getDataWithOutHtml(data)
Value
The data witouth html tags
Arguments
data (character) Text to removes html tags.
cleanText Function to removes \t,\n and spaces from the text.
Usage
cleanText(plainText)
Value
The text without \t,\n and spaces.
Arguments
plainText (character) Text to removes \t,\n and spaces.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.