customized HTML_BLOCK_TAGS Parser option seems not taken into account

Created by: pi-r-p

Hi,

I tried to add a custom block tag, to allow code insertion in a custom webcomponent. Here is my test.md file:

# test

<warp10-warpscript-widget>
<%
  <'
  This **code** is not markdown
  $list <% %> FOREACH

//There should not be no <p> here

%>
</warp10-warpscript-widget>

**markdown again**

I use these options :


    ArrayList<String> userTags = new ArrayList<>(Parser.HTML_BLOCK_TAGS.getFrom(null));
    userTags.add("warp10-warpscript-widget");

    DataHolder options = new MutableDataSet()
      .set(HtmlRenderer.INDENT_SIZE, 2)
      .set(Parser.HTML_BLOCK_DEEP_PARSER,true)
      .set(Parser.HTML_BLOCK_DEEP_PARSE_BLANK_LINE_INTERRUPTS,false)
      .set(Parser.HTML_BLOCK_DEEP_PARSE_FIRST_OPEN_TAG_ON_ONE_LINE,true)
      .set(Parser.HTML_BLOCK_DEEP_PARSE_BLANK_LINE_INTERRUPTS_PARTIAL_TAG,false)
      .set(Parser.HTML_BLOCK_TAGS,userTags)  //TODO : does not work
      .set(TablesExtension.COLUMN_SPANS, false)
      .set(TablesExtension.APPEND_MISSING_COLUMNS, true)
      .set(TablesExtension.DISCARD_EXTRA_COLUMNS, true)
      .set(TablesExtension.HEADER_SEPARATOR_COLUMN_MATCH, true)
      .set(TablesExtension.CLASS_NAME, "table table-striped table-sm")
      .set(WikiLinkExtension.IMAGE_LINKS, true)
      .set(Parser.EXTENSIONS,
        Arrays.asList(
          TablesExtension.create(),
          AttributesExtension.create(),
          TocExtension.create(),
          AutolinkExtension.create(),
          AsideExtension.create()
        )
      );

Whese these options, if I include my code in

, it works. But custom HTML_BLOCK_TAGS has no effect.
<div>
<warp10-warpscript-widget>

//There should not be no <p> here
**no md**

%>
</warp10-warpscript-widget>
</div>

I used 0.32.18 for my tests. I can't find out what I did wrong... In my tests, It seems I need the html deep parser to get rid of the <p> in the output.