Fix doctest for MarkupLM (#19845)

Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
This commit is contained in:
Yih-Dar
2022-10-24 17:54:23 +02:00
committed by GitHub
parent 1f7e40d04f
commit 072ed01c38

View File

@@ -95,10 +95,8 @@ This is the simplest case, in which the processor will use the feature extractor
... <title>Hello world</title> ... <title>Hello world</title>
... </head> ... </head>
... <body> ... <body>
... <h1>Welcome</h1> ... <h1>Welcome</h1>
... <p>Here is my website.</p> ... <p>Here is my website.</p>
... </body> ... </body>
... </html>""" ... </html>"""
@@ -165,10 +163,8 @@ processor will use the feature extractor to get all nodes and xpaths, and create
... <title>Hello world</title> ... <title>Hello world</title>
... </head> ... </head>
... <body> ... <body>
... <h1>Welcome</h1> ... <h1>Welcome</h1>
... <p>My name is Niels.</p> ... <p>My name is Niels.</p>
... </body> ... </body>
... </html>""" ... </html>"""