Line breaks don't work on messenger

Matías's Avatar

Matías

08 May, 2010 12:48 PM via web

Hi!

When i created my bot, line breaks such as
were working fine... but now they seems to be stripped and the return messege it's trimmed in one line.
Why?
Thanks in advance

  1. 2 Posted by rob on 10 May, 2010 05:51 PM

    rob's Avatar

    Noticing the same thing..<br> tags don't have a line break effect anymore..

  2. 3 Posted by Matias on 18 Jun, 2010 12:29 PM

    Matias's Avatar

    Any news on this? I can't use my bot without parsing any kind of line breaks...
    Please help :)

    Thanks in advance

  3. 4 Posted by H25 on 19 Jun, 2010 11:27 AM

    H25's Avatar

    I use <br /> for my bot and it still works fine
    Anyway, I guess you can try to add the header for your request (if you use PHP):
    header('Content-Type: text/html'); and echo '<br />' for line breaks Hope that helps
    Cheers

  4. 5 Posted by Matias on 19 Jun, 2010 03:18 PM

    Matias's Avatar

    H25, for ie i'm using

    header('Content-Type: text/html');

    echo "1

    ";
    echo "1

    ";
    echo "1

    ";
    echo "1

    ";

    and when asking something the result i've got it's

    So line breaks aren't parsing... any ideas?

  5. 6 Posted by H25 on 19 Jun, 2010 03:39 PM

    H25's Avatar

    Hi Matias,
    I've just made one test with this code:

    <?php
    echo "1<br /><br />"; 
    echo "1<br /><br />"; 
    echo "1<br /><br />"; 
    echo "1<br /><br />"; 
    ?>
    

    And it works correctly (yeah even without the header). For my bot, I use only that default Jabber one and Yahoo
    Hmm which network is your bot connecting to? I guess the bug you got is from other network (AOL or MSN), because now imified connectors to other network is not yet stable, so it may behave weird with different networks.

Reply to this discussion

Internal reply

Formatting help or Preview

Attached Files

You can attach files up to 10MB

What number comes after 20?

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.