mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-09-07 04:56:53 +00:00
![Jeremy Ruston](/assets/img/avatar_default.png)
* Initial Commit * Fix crash with invalid patches See https://github.com/Jermolene/TiddlyWiki5/pull/7290#issuecomment-1453155311 Thanks @yaisog * Add words and lines options to makepatches (#7326) * Prevent infinite loop for single-word texts (#7327) * Add docs and examples for the new operators (#7328) * Create makepatches Operator.tid * Improve wording * Doc and examples for the new operators --------- Co-authored-by: yaisog <m@rcuswinter.de>
22 lines
382 B
Plaintext
22 lines
382 B
Plaintext
title: Filters/DiffMergePatch3
|
|
description: Tests for diff-merge-patch derived operators
|
|
type: text/vnd.tiddlywiki-multiple
|
|
tags: [[$:/tags/wiki-test-spec]]
|
|
|
|
title: Output
|
|
|
|
\whitespace trim
|
|
\define text1()
|
|
the cat sat on the mat
|
|
\end
|
|
|
|
\define patches()
|
|
**NOT A VALID PATCH**
|
|
\end
|
|
|
|
<$text text={{{ [<text1>applypatches<patches>] }}}/>
|
|
|
|
+
|
|
title: ExpectedResult
|
|
|
|
the cat sat on the mat |