Log in with your MaiOtaku account.
Home Forum Anime Members Help

No tabs or returns in my description

augos
Hello, neat site but I got a problem. My info used to enable tabs and return spaces, but now they don't no matter what I do. Can someone help me?
amezuki
I believe it's because you have a > character in there somewhere. I've noticed that if you use either that or the less-than character, the site assumes that you're intending your post to be HTML rather than plaintext, and it behaves as such.<br><br> Get rid of those characters, or try using <br> at the end of each line to add a line break.
danielfriesen
<p><br> tags!</p> <p>Another forum that won't properly do paragraphs!</p>
amezuki
<p>It'll do paragraphs, too--you just have to either enclose them in <p></p> tags, or don't give the forum any reason (e.g. <> characters) to think that it should be treating your post as HTML.</p> <p>But deprecated though they may be, <br> tags are easier to explain and understand if someone doesn't do HTML.</p>
sugihara
<html> <head> <style type="text/css"> h1.intro {color:blue;} p.important {color:green;} </style> </head> <body> <br> <h1>I'm using this opportunity to see if CSS+ tags work</h1> <br> <h2>If it does, I'm curious what the header tags will do, though the site probably has a blank CSS+ page</h2> <br> <p class="important">Testing 123... As I thought, default header tags.</p> </body> </html>
danielfriesen
<p>@Amezuki<br> Oh no, I know about wrapping in <p> tags, that's what I tried in that last post.</p> <p>But <a href="javascript:document.getElementById('main_wrapper').style.backgroundColor = '#fefefe';>this forum</a> really won't properly do paragraphs otherwise. The default (when you don't include any <> characters) is to use <br> tags.</p>
sephiroth
Right now we're kind of between the "HTML is cool! Give users freedom!" and the "Nobody knows HTML! Simplify the experience!" mindsets.<br> <br> Amezuki is right about the > character, which I removed and it worked (but I think you added one back). There's probably a better way to determine whether or not the user wants to use HTML, but I'm not sure if we'll continue allowing HTML at all.
amezuki
(dupe comment)
amezuki
I would personally prefer to retain HTML; there's no other way to add formatting and sometimes formatting is essential.<br><br> Have you considered tracking <> pairs? One wouldn't indicate HTML; the two in that sequence anywhere in the post would be a better indicator except for rare occasions where someone is doing a bunch of math.<br><br> A regexp pattern like the following should definitely identify any true HTML tag: </?\w+((\s+\w+(\s*=\s*(?:"(.|\n)*?"|'(.|\n)*?'|[^'">\s]+))?)+\s*|\s*)/?>
haruu
*Reads* ... 0___0 NO WONDER. T______T
Continue
Please login to post.