Closed Bug 1092234 Opened 11 years ago Closed 10 years ago

:: Block Grids Should Allow HTML Formatting

Categories

(Websites :: The Open Standard, defect)

Beta
x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: bensternthal, Unassigned)

References

Details

Attachments

(1 file)

The block grid tags should allow html formatting (links, bold text etc)
Should be good now. Would be a good idea to confirm this on your local since DOMDocument has been finicky in the past.
Looks good locally but let's double check on dev post merge.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Can you get me the the source of the wysiwyg editor that produces that output? (Text tab on top right of the editor)
Attached file test-post.txt
Here is the source of that post.
What PHP version is stage using?
Stage and prod were reported to me as using PHP 5.3.3
Ok. Since we've had such trouble with straight DomDocument methods, I implemented a lib for manipulating the DOM. Hopefully this works on stage.
I did not see a new PR for this? Can you commit the code in a new pr and I can test. I have 5.3.3 working locally now.
Flags: needinfo?(jorenm)
Here are the errors that appear locally: [31-Dec-2014 23:06:23 UTC] PHP Warning: DOMDocumentFragment::appendXML() [<a href='domdocumentfragment.appendxml'>domdocumentfragment.appendxml</a>]: Test Bullet gamma in /Users/bsternthal/Documents/Dev/theopenstandard/themes/theopenstandard/content-filters.php on line 22 [31-Dec-2014 23:06:23 UTC] PHP Warning: DOMDocumentFragment::appendXML() [<a href='domdocumentfragment.appendxml'>domdocumentfragment.appendxml</a>]: ^ in /Users/bsternthal/Documents/Dev/theopenstandard/themes/theopenstandard/content-filters.php on line 22 [31-Dec-2014 23:06:23 UTC] PHP Warning: DOMNode::appendChild() [<a href='domnode.appendchild'>domnode.appendchild</a>]: Document Fragment is empty in /Users/bsternthal/Documents/Dev/theopenstandard/themes/theopenstandard/content-filters.php on line 87
Created the PR. See if that fixes.
Flags: needinfo?(jorenm)
Tested locally with PR. Everything works as expected on php 5.3.X and there were no errors in the log file. Merged.
Status: REOPENED → RESOLVED
Closed: 10 years ago10 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: