Project

General

Profile

Actions

Bug #19363

closed

Continued HTML weirdness with forum preview

Added by Matt Gold 12 months ago. Updated 2 months ago.

Status:
Resolved
Priority name:
Normal
Assignee:
Category name:
Group Forums
Target version:
Start date:
2023-12-03
Due date:
% Done:

0%

Estimated time:
Deployment actions:

Description

Hi Ray --

I was just writing a message to my class using the Visual text composer, and I saw again some strangeness in the rendered HTML in the preview

I had entered a few blank lines using Control-Enter, which produced the <br /> code in the preview

I then went to the text mode and switched back to the visual mode, which added <wbr /> tags to the links in the preview (which also showed up in the notification email)


Files

Screenshot 2023-12-03 at 8.47.12 PM.png (365 KB) Screenshot 2023-12-03 at 8.47.12 PM.png composing in the visual editor Matt Gold, 2023-12-03 09:16 PM
Screenshot 2023-12-03 at 8.48.54 PM.png (362 KB) Screenshot 2023-12-03 at 8.48.54 PM.png wbr tags added after going from visual to text to visual editor Matt Gold, 2023-12-03 09:17 PM
Actions #1

Updated by Boone Gorges 6 months ago

  • Category name set to Group Forums
  • Target version set to 2.4.0

Matt, are you still seeing this? Sorry it slipped through the cracks.

Actions #2

Updated by Boone Gorges 5 months ago

  • Target version changed from 2.4.0 to 2.4.1
Actions #3

Updated by Boone Gorges 5 months ago

  • Target version changed from 2.4.1 to 2.4.2
Actions #4

Updated by Boone Gorges 5 months ago

  • Target version changed from 2.4.2 to 2.4.3
Actions #5

Updated by Boone Gorges 4 months ago

  • Target version changed from 2.4.3 to 2.4.4
Actions #6

Updated by Boone Gorges 3 months ago

  • Target version changed from 2.4.4 to 2.4.5
Actions #7

Updated by Boone Gorges 3 months ago

  • Target version changed from 2.4.5 to 2.4.6
Actions #8

Updated by Raymond Hoh 2 months ago

  • Status changed from Assigned to Staged for Production Release

Sorry for the dropping the ball on this one, Matt.

I duplicated the <br /> portion of your report when using Shift+Enter, but I couldn't duplicate the <wbr /> in the preview after toggling the Text and Visual modes in the forum editor. For the first <br /> portion, I've added a commit to allow the <br /> tag through in https://github.com/cuny-academic-commons/cac/commit/a82fd931a45443f4c83b9d39cf07507f081167ab. Once we've deployed this fix on Tuesday, can you test again to see if you are able to get the <wbr /> tag to display in the preview?

Actions #9

Updated by Boone Gorges 2 months ago

  • Status changed from Staged for Production Release to Resolved
Actions

Also available in: Atom PDF