Skip to content

Commit 77ac865

Browse files
Merge pull request #1162 from wordpress-mobile/release/1.5.1
Update release number to 1.5.1
2 parents 596832c + 39f38cf commit 77ac865

4 files changed

Lines changed: 14 additions & 4 deletions

File tree

WordPress-Aztec-iOS.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
Pod::Spec.new do |s|
1010
s.name = 'WordPress-Aztec-iOS'
11-
s.version = '1.5.0'
11+
s.version = '1.5.1'
1212
s.summary = 'The native HTML Editor.'
1313

1414
# This description is used to generate tags and improve search results.

WordPress-Editor-iOS.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
Pod::Spec.new do |s|
1010
s.name = 'WordPress-Editor-iOS'
11-
s.version = '1.5.0'
11+
s.version = '1.5.1'
1212
s.summary = 'The WordPress HTML Editor.'
1313

1414
# This description is used to generate tags and improve search results.

WordPressEditor/WordPressEditor/Classes/Plugins/WordPressPlugin/WordPressInputCustomizer.swift

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,11 @@ open class WordPressInputCustomizer: PluginInputCustomizer {
1818
VideoShortcodeProcessor.wordPressVideoPreProcessor,
1919
AutoPProcessor()
2020
])
21+
22+
private let gutenbergInputHTMLProcessor = PipelineProcessor([
23+
VideoShortcodeProcessor.videoPressPreProcessor,
24+
VideoShortcodeProcessor.wordPressVideoPreProcessor
25+
])
2126

2227
// MARK: - Gutenberg
2328

@@ -38,7 +43,7 @@ open class WordPressInputCustomizer: PluginInputCustomizer {
3843

3944
open func process(html: String) -> String {
4045
guard !isGutenbergContent(html) else {
41-
return html
46+
return gutenbergInputHTMLProcessor.process(html)
4247
}
4348

4449
return calypsoinputHTMLProcessor.process(html)

WordPressEditor/WordPressEditor/Classes/Plugins/WordPressPlugin/WordPressOutputCustomizer.swift

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,11 @@ open class WordPressOutputCustomizer: PluginOutputCustomizer {
1818
VideoShortcodeProcessor.wordPressVideoPostProcessor,
1919
RemovePProcessor(),
2020
])
21+
22+
private let gutenbergOutputHTMLProcessor = PipelineProcessor([
23+
VideoShortcodeProcessor.videoPressPostProcessor,
24+
VideoShortcodeProcessor.wordPressVideoPostProcessor,
25+
])
2126

2227
// MARK: - Gutenberg
2328

@@ -37,7 +42,7 @@ open class WordPressOutputCustomizer: PluginOutputCustomizer {
3742

3843
open func process(html: String) -> String {
3944
guard !isGutenbergContent(html) else {
40-
return html
45+
return gutenbergOutputHTMLProcessor.process(html)
4146
}
4247

4348
return calypsoOutputHTMLProcessor.process(html)

0 commit comments

Comments
 (0)