Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wordpress proxy wall of text #38

Open
eightbitswide opened this issue Apr 27, 2020 · 5 comments
Open

Wordpress proxy wall of text #38

eightbitswide opened this issue Apr 27, 2020 · 5 comments

Comments

@eightbitswide
Copy link

Is there a way to get the Wordpress proxy to listen to paragraph breaks or
commands when displaying texts so that paragraphs with breaks show up without the entire text becoming a wall of text?

I've tried pulling BR| from this line without success:
.replaceAll("(?is)^[\s\n\r]+|^\s*(</?(br|div|figure|iframe|img|p|h[0-9])[^>]>\s)+", EMPTY)

@sblendorio
Copy link
Owner

Please link here the page with that problem, I will try to get on it

@sblendorio
Copy link
Owner

sblendorio commented Apr 28, 2020

I meant the wordpress post in the site that has wall of text :)

@eightbitswide
Copy link
Author

eightbitswide commented Apr 28, 2020 via email

@eightbitswide
Copy link
Author

eightbitswide commented Apr 30, 2020

Made the following changes to WordpressProxy.java (see remarks on 3 lines)
Solves the problem. No more wall of text.

Screenshot from 2020-04-30 14-06-14

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants