Uploaded image for project: 'phpBB'
  1. phpBB
  2. PHPBB-15235

Inline attachments do not appear properly if placed within text that is formatted with BBCode

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • 3.2.0
    • None
    • None
    • It happens on phpBB.com/community, and apparently in all environments.

      This topic pretty much illustrates the issue - https://www.phpbb.com/community/viewtopic.php?f=556&t=2424226

      If an inline attachment is placed within formatted text (any formatting, apparently), like this:

      [b]Some formatted text
      [attachment=0]some attachment[/attachment]
      some more formatted text[/b]

      It displays like this:

      *strong text*Some formatted text
      [attachment=0]some attachment[/attachment] (the actual attachment does not appear, just the code)
      some more formatted text*strong text*

      Actual attachment appears at the end of the post, as though it were not inline

      It only occurs when the attachment is within a beginning code (e.g. [b]) and an ending code (e.g. [/b].

            Unassigned Unassigned
            stevemaury stevemaury
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: