1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-23 22:10:55 +01:00
phorge-phorge/webroot/rsrc
epriestley 69b0ac724a Render remarkup in feed in a mostly reasonable way
Summary:
Fixes T4057. This sort of sidesteps the trickiest (but very rare) case of things like embedded slowvotes. We might be able to refine that later.

In the common bad case (macros, large images) it gets reasonable results by using `overflow: hidden` with `max-height`.

We use `PhabriatorMarkupEngine::summarize()` to try to just render the first paragraph.

Test Plan: {F195093}

Reviewers: chad, btrahan

Reviewed By: btrahan

Subscribers: epriestley

Maniphest Tasks: T4057

Differential Revision: https://secure.phabricator.com/D10355
2014-08-26 14:36:35 -07:00
..
css Render remarkup in feed in a mostly reasonable way 2014-08-26 14:36:35 -07:00
externals Projects - tokenize projects more aggressively with respect to '-' 2014-08-14 12:28:11 -07:00
image Replace ActionHeader minicons with Font icons 2014-08-15 11:08:28 -07:00
js Remarkup - call pasted files "pasted_file" rather than "undefined" 2014-08-20 16:21:50 -07:00
swf React to Aphlict disconnects in the UI 2014-06-24 09:41:40 -07:00