의 미러
https://github.com/friendica/friendica
synced 2025-09-07 21:21:52 +02:00
Using a better placeholder. Could solve this issue: https://github.com/friendica/friendica/issues/920
This commit is contained in:
부모
22ae03c1a3
커밋
1520a3feab
1개의 변경된 파일과 2개의 추가작업 그리고 2개의 파일을 삭제
|
@ -16,7 +16,7 @@ function node2bbcode(&$doc, $oldnode, $attributes, $startbb, $endbb)
|
|||
|
||||
function node2bbcodesub(&$doc, $oldnode, $attributes, $startbb, $endbb)
|
||||
{
|
||||
$savestart = str_replace('$', '%', $startbb);
|
||||
$savestart = str_replace('$', '\x01', $startbb);
|
||||
$replace = false;
|
||||
|
||||
$xpath = new DomXPath($doc);
|
||||
|
@ -37,7 +37,7 @@ function node2bbcodesub(&$doc, $oldnode, $attributes, $startbb, $endbb)
|
|||
|
||||
foreach ($attributes as $attribute => $value) {
|
||||
|
||||
$startbb = str_replace('%'.++$i, '$1', $startbb);
|
||||
$startbb = str_replace('\x01'.++$i, '$1', $startbb);
|
||||
|
||||
if (strpos('*'.$startbb, '$1') > 0) {
|
||||
|
||||
|
|
불러오는 중…
테이블 추가
Add a link
Reference in a new issue