Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 2.5.2, 2.8.1, 3.6.6, 3.7.2, 3.8
-
Component/s: Filters
-
Labels:
-
Testing Instructions:
-
Workaround:
-
Affected Branches:MOODLE_25_STABLE, MOODLE_28_STABLE, MOODLE_36_STABLE, MOODLE_37_STABLE, MOODLE_38_STABLE
-
Fixed Branches:MOODLE_36_STABLE, MOODLE_37_STABLE
-
Pull from Repository:
-
Pull Master Branch:
MDL-42638-master -
Pull Master Diff URL:
Description
1. Enable the emoticon filter on your site
2. Create a forum post with the following content:
Test content:
|
<pre>
|
- (id)initWithBitmapDataPlanes:(unsigned char **)planes
|
pixelsWide:(NSInteger)width
|
pixelsHigh:(NSInteger)height
|
bitsPerSample:(NSInteger)bps
|
samplesPerPixel:(NSInteger)spp
|
hasAlpha:(BOOL)alpha
|
isPlanar:(BOOL)isPlanar
|
colorSpaceName:(NSString *)colorSpaceName
|
bitmapFormat:(NSBitmapFormat)bitmapFormat
|
bytesPerRow:(NSInteger)rowBytes
|
bitsPerPixel:(NSInteger)pixelBits;
|
</pre>
|
Expected result:
The content in <pre> is preserved
Actual result:
Sad smiley face images are replaced in the pre content.
Attachments
Issue Links
- has a non-specific relationship to
-
MDL-61732 Allow "Mathjax" and "Display emoticons as images" filter together, have "y(n)" not breaking
-
- Closed
-