Print Page | Close Window

Formatting reviews

Printed From: Progarchives.com
Category: Site News, Newbies, Help and Improvements
Forum Name: Report bugs here
Forum Description: Help us improve the site from a tech standpoint
URL: http://www.progarchives.com/forum/forum_posts.asp?TID=46622
Printed Date: May 18 2025 at 10:30
Software Version: Web Wiz Forums 11.01 - http://www.webwizforums.com


Topic: Formatting reviews
Posted By: Rivertree
Subject: Formatting reviews
Date Posted: February 27 2008 at 09:13
The review guidlines recommend to use a <p> tag for opening a new paragraph.





But it doesn't work - the same with other formatting options like <b> aso.







-------------
https://awesomeprog.com/users/Rivertree" rel="nofollow">




Replies:
Posted By: MikeEnRegalia
Date Posted: February 27 2008 at 10:00
@Max: I guess you're running some anti-xss functions to change HTML to safe text in order to prevent hacking. Consider the following solution for the problem described above (using Visual Basic syntax):

reviewContent = Replace(reviewContent, "<p>", "__P__")
reviewContent = Replace(reviewContent, "</p>", "__PP__")
reviewContent = Replace(reviewContent, "<b>", "__B__")
reviewContent = Replace(reviewContent, "</b>", "__BB__")

run Anti-XSS on reviewContent

reviewContent = Replace(reviewContent, "__P__", "<p>")
reviewContent = Replace(reviewContent, "__PP__", "</p>")
reviewContent = Replace(reviewContent, "__B__", "<b>")
reviewContent = Replace(reviewContent, "__BB__", "</b>")





-------------
https://awesomeprog.com/release-polls/pa" rel="nofollow - Release Polls

Listened to:


Posted By: Raff
Date Posted: February 27 2008 at 11:21
I know I always have to edit my review from my own page in order to insert paragraph breaks (I HATE writing without them), and in some cases quotation marks. Hopefully the problem will be solved soon, because it's a bit of a nuisance.


Posted By: M@X
Date Posted: February 28 2008 at 09:36
I'll have a second check about this bug Geek

-------------
Prog On !


Posted By: MikeEnRegalia
Date Posted: February 28 2008 at 12:12
^ of course the quick solution would be to change the text ... people should use double line feeds instead of <p> until another solution is found.

-------------
https://awesomeprog.com/release-polls/pa" rel="nofollow - Release Polls

Listened to:


Posted By: Rivertree
Date Posted: February 28 2008 at 14:03
Originally posted by MikeEnRegalia MikeEnRegalia wrote:

^ of course the quick solution would be to change the text ... people should use double line feeds instead of <p> until another solution is found.


Well - it would be enough to update the review guidelines.
I only wanted to point out the contradiction ... Wink



-------------
https://awesomeprog.com/users/Rivertree" rel="nofollow">




Print Page | Close Window

Forum Software by Web Wiz Forums® version 11.01 - http://www.webwizforums.com
Copyright ©2001-2014 Web Wiz Ltd. - http://www.webwiz.co.uk