@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Render directly embedded image data represented as a string in Jupyter notebooks

Summary: Depends on D19259. Ref T13105. Some examples represent image data as `["da", "ta"]` while others represent it as `"data"`. Accept either.

Test Plan: Rendered example notebooks with both kinds of images.

Reviewers: mydeveloperday

Reviewed By: mydeveloperday

Maniphest Tasks: T13105

Differential Revision: https://secure.phabricator.com/D19260

+1 -2
+1 -2
src/applications/files/document/PhabricatorJupyterDocumentEngine.php
··· 260 260 261 261 $raw_data = $data[$image_format]; 262 262 if (!is_array($raw_data)) { 263 - continue; 263 + $raw_data = array($raw_data); 264 264 } 265 - 266 265 $raw_data = implode('', $raw_data); 267 266 268 267 $content = phutil_tag(