Fix display of Jupyter notebooks where cell.source is a string
What does this MR do?
This is a small change fixing #27374 (closed), allowing both strings and arrays of strings for the source cells in Jupyter notebooks.
Screenshots
The example notebook from the issue is now displayed correctly:
Does this MR meet the acceptance criteria?
Conformity
-
Changelog entry - [-] Documentation (if required)
-
Code review guidelines -
Merge request performance guidelines -
Style guides - [-] Database guides
- [-] Separation of EE specific content
Availability and Testing
-
Review and add/update tests for this feature/bug. Consider all test levels. See the Test Planning Process. - [-] Tested in all supported browsers
- [-] Informed Infrastructure department of a default or new setting change, if applicable per definition of done
Closes #27374 (closed)