Uploaded image for project: 'phpBB3'
  1. phpBB3
  2. PHPBB3-15235

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

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.2.0
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Environment:
      It happens on phpBB.com/community, and apparently in all environments.

      Description

      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].

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated: