Supporting each other

Community forums

Welcome, Guest
Username: Password: Remember me
Report any technical problems you discover and discuss solutions.
  • Page:
  • 1

TOPIC:

Flash - Break tags appearing in paragraphs 5 years 7 months ago #5275

  • Joel-Xhibit
  • Joel-Xhibit's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 11
  • Thank you received: 1
Hi All,

I’m converting over some old XOT objects from the Flash engine to HTML5 and I have discovered that many of the paragraphs in these resources, when viewed under the ‘Source’ view of the HTML WYSIWYG editor, feature unconventional HTML mark-up, e.g.:
<p>PARAGRAPH ONE
  <br />
  <br />
  PARAGRAPH TWO
  <br />
  <br />
  PARAGRAPH THREE
</p>

It would appear that double break tags have been used to give the illusion of paragraphs in the render and all text content is wrapped within a single paragraph tag.

This is problematic, as many of the new themes in Xerte feature paragraph specific CSS declarations, which aren’t being triggered until I manually go in and amend the mark-up accordingly.

The same behaviour is present within bulleted/numbered lists, with each of the bullets being separated with a break tag too.

I’m sure I could do a mass RegEx find and replace all function on my project’s XML files, but I just wanted to flag this up to see how others have handled it in the past and whether it is a known issue?

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Moderators: ronmjultenjjs
Time to create page: 0.051 seconds
Copyright © 2024 The Xerte Project.
Xerte logo Apereo logo OSI Logo

Search