remove the white-space pre-wrap property on code blocks. This should probably be done with the word-break property instead
This commit is contained in:
parent
86e93664d0
commit
4866ed5283
@ -980,11 +980,7 @@ function empty_acl($item) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function encode_item($item,$mirror = false) {
|
function encode_item($item,$mirror = false) {
|
||||||
$x = array();
|
$x = [];
|
||||||
$x['type'] = 'activity';
|
|
||||||
$x['encoding'] = 'zot';
|
|
||||||
|
|
||||||
// logger('encode_item: ' . print_r($item,true));
|
|
||||||
|
|
||||||
$r = q("select channel_id from channel where channel_id = %d limit 1",
|
$r = q("select channel_id from channel where channel_id = %d limit 1",
|
||||||
intval($item['uid'])
|
intval($item['uid'])
|
||||||
@ -1362,9 +1358,7 @@ function encode_item_flags($item) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function encode_mail($item,$extended = false) {
|
function encode_mail($item,$extended = false) {
|
||||||
$x = array();
|
$x = [];
|
||||||
$x['type'] = 'mail';
|
|
||||||
$x['encoding'] = 'zot';
|
|
||||||
|
|
||||||
if(array_key_exists('mail_obscured',$item) && intval($item['mail_obscured'])) {
|
if(array_key_exists('mail_obscured',$item) && intval($item['mail_obscured'])) {
|
||||||
if($item['title'])
|
if($item['title'])
|
||||||
|
@ -297,7 +297,6 @@ code {
|
|||||||
font-size: 1em;
|
font-size: 1em;
|
||||||
padding: 1em 1.5em;
|
padding: 1em 1.5em;
|
||||||
display: block;
|
display: block;
|
||||||
white-space: pre-wrap;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
code.inline-code {
|
code.inline-code {
|
||||||
|
Reference in New Issue
Block a user