Menu

#2452 (ok 2.10.3)Query pretty printer forgets HTML line break tags

2.10.2-rc1
fixed
None
1
2013-06-11
2007-06-13
No

Hi,

The query pretty printer sometimes does insert \n, but it doesn't insert [br].
See attached screenshot.

Discussion

  • Olaf van der Spek

    Screenshot

     
  • Olaf van der Spek

    Logged In: YES
    user_id=30264
    Originator: YES

    http://xcc.demon.nl/temp/phpmyadmin.png

     
  • Marc Delisle

    Marc Delisle - 2007-06-26

    Logged In: YES
    user_id=210714
    Originator: NO

    This is intentional. phpMyAdmin's parser would have memory problems parsing such long strings.

     
  • Marc Delisle

    Marc Delisle - 2007-06-26
    • assigned_to: nobody --> lem9
    • status: open --> closed-wont-fix
     
  • Olaf van der Spek

    • status: closed-wont-fix --> open-wont-fix
     
  • Olaf van der Spek

    Logged In: YES
    user_id=30264
    Originator: YES

    It'd be nice to at least have the original formatting preserved.

     
  • Marc Delisle

    Marc Delisle - 2007-06-26
    • status: open-wont-fix --> open-accepted
     
  • Marc Delisle

    Marc Delisle - 2007-06-26

    Logged In: YES
    user_id=210714
    Originator: NO

    Would adding a nl2br() to the displayed query be fine for you?

     
  • Olaf van der Spek

    Logged In: YES
    user_id=30264
    Originator: YES

    I think that'll work in this case, yes.

     
  • Marc Delisle

    Marc Delisle - 2007-06-26

    Logged In: YES
    user_id=210714
    Originator: NO

    Done.

     
  • Marc Delisle

    Marc Delisle - 2007-06-26
    • priority: 5 --> 1
    • summary: Query pretty printer forgets HTML line break tags --> (ok 2.10.3)Query pretty printer forgets HTML line break tags
    • status: open-accepted --> open-fixed
     
  • Marc Delisle

    Marc Delisle - 2007-07-20
    • status: open-fixed --> closed-fixed
     
  • Michal Čihař

    Michal Čihař - 2013-06-11
    • Status: closed-fixed --> fixed