From c5ce1cf978d9396250dcb547fbe315a7c6fd80e1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Roland=20L=C3=B6tscher?= <40485433+rolandlo@users.noreply.github.com> Date: Thu, 11 Apr 2024 14:01:29 +0200 Subject: [PATCH] Fix backticks in README. --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 2f75c5c..78f0ff6 100644 --- a/README.md +++ b/README.md @@ -331,14 +331,14 @@ This creates a new metadata item of the specified type, name and value. This changes the value of an existing field, but will not change its type. You can't use `set()` to change core fields such as like `width` or -`interpretation`. Use `copy()` instead.` +`interpretation`. Use `copy()` instead. Image references will be shared by the operation cache, so modifying an image can change an image somewhere else in your program. Before changing an image, you must make sure you own a private copy of an image with `copy`. ```lua -local new_image = image:copy()` +local new_image = image:copy() new_image:set("orientation", 7) ```