Uploaded image for project: 'PUBLIC - Liferay Documentation'
  1. PUBLIC - Liferay Documentation
  2. LRDOCS-6272

check-images task should check if image syntax is on one line

    Details

    • Type: Task
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Fix Version/s: 7.0.x, 7.1.x, 7.2.x
    • Component/s: Website
    • Labels:
      None

      Description

      Markdown image syntax is required to be on one line so the parser can recognize it as an image.

      ![Figure 1: Text description.](../../../images/test.png)
      

      If the image syntax spans more than one line, the parser cannot read it:

      ![Figure 1: Text
      description.](../../../images/test.png)
      

      Currently, when images do not follow this formatting rule (documented in guidelines as a requirement), they are reported as correct by the check-links task, but are broken when uploaded to LDN.

      The check-links task should recognize this formatting error so we are alerted before the broken image is uploaded.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                cody.hoag Cody Hoag
                Reporter:
                cody.hoag Cody Hoag
                Participants of an Issue:
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:

                  Zendesk Support

                    Packages

                    Version Package
                    7.0.x
                    7.1.x
                    7.2.x