You are here: PSPad forum > English discussion forum > Conversion -> Remove HTML tags - option does not work

Conversion -> Remove HTML tags - option does not work

#1 Conversion -> Remove HTML tags - option does not work

Posted by: maki | Date: 12/12/2017 03:56 | IP: IP Logged

Remove HTML tags - option does not work

<p>I want to extract the text</p>

image

Edited 3 time(s). Last edit at 12/12/2017 03:57 by maki.

Options: Reply | Quote | Up ^


#2 Re: Conversion -> Remove HTML tags - option does not work

Posted by: pspad | Date: 12/12/2017 05:55 | IP: IP Logged

The original file must be HTML like. Change syntax to HTML first

Options: Reply | Quote | Up ^


#3 Re: Conversion -> Remove HTML tags - option does not work

Posted by: maki | Date: 12/12/2017 14:14 | IP: IP Logged

But it still does not remove 100% of the HTML code!

For example, it does not remove:
/div
/div
/li!-- #comment-## --
li class="comment even thread-even depth-1" id="dsq-comment-1926"
div id="dsq-comment-header-1926" class="dsq-comment-header"
cite id="dsq-cite-1926"
a id="dsq-author-user-1926" href="http://Website" target="_blank" rel="nofollow"Martyna/a
/cite
/div
div id="dsq-comment-body-1926" class="dsq-comment-body"
div id="dsq-comment-message-1926" class="dsq-comment-message"ppotrafi zatrzymać uciekający czas#8230;/p
/div
/div
/li!-- #comment-## --
li class="comment odd alt thread-odd thread-alt depth-1" id="dsq-comment-1927"
div id="dsq-comment-header-1927" class="dsq-comment-header"angry smiley

Edited 1 time(s). Last edit at 12/12/2017 14:15 by maki.

Options: Reply | Quote | Up ^


#4 Re: Conversion -> Remove HTML tags - option does not work

Posted by: pspad | Date: 12/12/2017 15:54 | IP: IP Logged

sorry, but /div isn't tag
Tag means content inside < and >
Send exact example what isn't removed

Options: Reply | Quote | Up ^


#5 Re: Conversion -> Remove HTML tags - option does not work

Posted by: maki | Date: 12/12/2017 17:46 | IP: IP Logged

If the browser saves as html, so it should be html.
I do not know why PSPad does not detect ANY page as HTML.
PSPad ALWAYS incorrectly converts the code into HTML code.
But no matter, I have another question ...
Maybe in diffrent way...
  without removing the code.
How to extract any text between the <p>text</p> tags

Edited 3 time(s). Last edit at 12/12/2017 17:49 by maki.

Options: Reply | Quote | Up ^






Editor PSPad - freeware editor, © 2001 - 2018 Jan Fiala
Hosted by Webhosting TOJEONO.CZ, design by WebDesign PAY & SOFT, code Petr Dvořák