Closed noemi-salaun closed 8 years ago
This is correct. Both parse()
and strip()
are different methods doing different things, so echoing both of them will produce 2 outputs.
But in the second example, echo parse()
output <b>Something</b>
and echo strip()
output SomethingSomething
.
strip()
should echo only one Something
.
Oh sorry, didn't notice double Something
. After briefly looking at the code, I don't see how that would occur, but would have to dig a bit deeper.
This has been fixed.
When
$decoda->strip()
is used after$decoda->parse()
, it returns the content two times.An example that works
The above example will output:
An example that does not work
The above example will output: