Alir3z4 / Alir3z4/html2text

RE_MD_DASH_MATCHER does not exist in the HTML2TEXT() object

Abierto
#382 0 comentarios 1 reacción 0 asignados Ver en GitHub
Lenguaje dominante
Python
Estrellas
2.2k
Forks
296
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

According to the docs
[https://github.com/Alir3z4/html2text/blob/master/docs/usage.md#available-options](https://github.com/Alir3z4/html2text/blob/master/docs/usage.md#available-options)
There is a RE_MD_DASH_MATCHER option.

I can not see this option.

```
text_maker = html2text.HTML2Text()
print(dir(text_maker))
['CDATA_CONTENT_ELEMENTS', '_HTMLParser__starttag_text', '__class__', '__delattr__', '__dict__', '__dir__', '__doc__', '__eq__', '__format__', '__ge__', '__getattribute__', '__gt__', '__hash__', '__init__', '__init_subclass__', '__le__', '__lt__', '__module__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__', '__weakref__', '_decl_otherchars', '_parse_doctype_attlist', '_parse_doctype_element', '_parse_doctype_entity', '_parse_doctype_notation', '_parse_doctype_subset', '_scan_name', 'a', 'abbr_data', 'abbr_list', 'abbr_title', 'absolute_url_matcher', 'acount', 'astack', 'baseurl', 'blockquote', 'body_width', 'br_toggle', 'bypass_tables', 'cdata_elem', 'charref', 'check_for_whole_start_tag', 'clear_cdata_mode', 'close', 'close_quote', 'code', 'convert_charrefs', 'current_tag', 'default_image_alt', 'drop_white_space', 'emphasis', 'emphasis_mark', 'empty_link', 'entityref', 'error', 'escape_snob', 'feed', 'finish', 'get_starttag_text', 'getpos', 'goahead', 'google_doc', 'google_list_indent', 'google_nest_count', 'handle', 'handle_charref', 'handle_comment', 'handle_data', 'handle_decl', 'handle_emphasis', 'handle_endtag', 'handle_entityref', 'handle_pi', 'handle_startendtag', 'handle_starttag', 'handle_tag', 'hide_strikethrough', 'ignore_emphasis', 'ignore_images', 'ignore_links', 'ignore_tables', 'images_as_html', 'images_to_alt', 'images_with_size', 'inheader', 'inline_links', 'interesting', 'lastWasList', 'lastWasNL', 'lasttag', 'lineno', 'links_each_paragraph', 'list', 'mark_code', 'maybe_automatic_link', 'o', 'offset', 'open_quote', 'optwrap', 'out', 'outcount', 'outtextf', 'outtextlist', 'p', 'p_p', 'pad_tables', 'parse_bogus_comment', 'parse_comment', 'parse_declaration', 'parse_endtag', 'parse_html_declaration', 'parse_marked_section', 'parse_pi', 'parse_starttag', 'pbr', 'pre', 'preceding_data', 'preceding_stressed', 'previousIndex', 'protect_links', 'quiet', 'quote', 'rawdata', 'reset', 'set_cdata_mode', 'single_line_break', 'skip_internal_links', 'soft_br', 'space', 'split_next_td', 'start', 'startpre', 'stressed', 'strong_mark', 'style', 'style_def', 'table_start', 'tag_callback', 'tag_stack', 'td_count', 'ul_item_mark', 'unescape', 'unicode_snob', 'unknown_decl', 'updatepos', 'use_automatic_links', 'wrap_links', 'wrap_list_items']
```
Do I miss something?
Or is this a bug

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.