secondlife / jira-archive

2 stars 0 forks source link

[BUG-230183] Place pages "Covenant" does not respect new lines and indentation #7913

Open sl-service-account opened 3 years ago

sl-service-account commented 3 years ago

What just happened?

Place pages does not respect new lines or spaces for indentation

What were you doing when it happened?

Viewing region covenant

What were you expecting to happen instead?

Spaces and indentation to be respected, as to not result in a run on sentance.

Other information

This should easily be fixable by including the covenant inside of a <div> or <pre> (<pre> would probably be more fitting) with a white-space: pre-wrap CSS attribute. Example:

Current behaviour

image-2021-02-05-08-18-16-738.png

Desired behaviour with covenant wrapped in <pre style="white-space: pre-wrap">

image-2021-02-05-08-23-23-461.png

Attachments

Original Jira Fields | Field | Value | | ------------- | ------------- | | Issue | BUG-230183 | | Summary | Place pages "Covenant" does not respect new lines and indentation | | Type | Bug | | Priority | Unset | | Status | Accepted | | Resolution | Triaged | | Reporter | Chaser Zaks (chaser.zaks) | | Created at | 2021-02-05T13:29:06Z | | Updated at | 2021-02-05T16:57:00Z | ``` { 'Build Id': 'unset', 'Business Unit': ['Platform'], 'Date of First Response': '2021-02-05T10:56:56.124-0600', "Is there anything you'd like to add?": 'This should easily be fixable by including the covenant inside of a {{
}} or {{
}} ({{
}} would probably be more fitting) with a {{white-space: pre-wrap}} CSS attribute.\r\nExample:\r\nh.4 Current behaviour\r\n!image-2021-02-05-08-18-16-738.png!\r\nh.4 Desired behaviour with covenant wrapped in {{
}}\r\n!image-2021-02-05-08-23-23-461.png!',
  'Original Reporter': 'Chaser Zaks (chaser.zaks)',
  'ReOpened Count': 0.0,
  'Severity': 'Unset',
  'System': 'Website',
  'Target Viewer Version': 'viewer-development',
  'What just happened?': 'Place pages does not respect new lines or spaces for indentation',
  'What were you doing when it happened?': 'Viewing region covenant',
  'What were you expecting to happen instead?': 'Spaces and indentation to be respected, as to not result in a run on sentance.',
  'Where': 'https://places.secondlife.com/regions/41303/firestorm-ghost-town',
}
```

sl-service-account commented 3 years ago

Spidey Linden commented at 2021-02-05T16:56:56Z

Thank you for the bug report! We will investigate this issue.