diff --git a/src/ApiSemanticFormsSelectRequestProcessor.php b/src/ApiSemanticFormsSelectRequestProcessor.php index ada0804..eb3121c 100644 --- a/src/ApiSemanticFormsSelectRequestProcessor.php +++ b/src/ApiSemanticFormsSelectRequestProcessor.php @@ -69,6 +69,8 @@ public function getJsonDecodedResultValuesForRequestParameters( array $parameter } $this->parser->firstCallInit(); + $this->parser->clearState(); + $this->parser->setOutputType(Parser::OT_HTML); $json = []; if ( isset( $parameters['approach'] ) && $parameters['approach'] == 'smw' ) {