Compare commits

...

4 Commits

Author SHA1 Message Date
zefr0x
cb06d3f2e2
Merge cac273e50d45d2bdb1a6b9253f6af608b9afa5ac into 78355421ad73fdcbe93b4acca890b439c4b6f98d 2025-07-22 14:14:00 +02:00
Laurenz
78355421ad
Add pdf extension to image autocompletions (#6643) 2025-07-22 12:07:29 +00:00
zefr0x
cac273e50d Update test refrence 2025-07-18 03:21:07 +03:00
zefr0x
1222ab5818 Specify the standard smart quotes for Arabic
The alternative is the default for RTL languages.
2025-07-18 02:56:09 +03:00
3 changed files with 2 additions and 1 deletions

View File

@ -834,7 +834,7 @@ fn param_value_completions<'a>(
fn path_completion(func: &Func, param: &ParamInfo) -> Option<&'static [&'static str]> {
Some(match (func.name(), param.name) {
(Some("image"), "source") => {
&["png", "jpg", "jpeg", "gif", "svg", "svgz", "webp"]
&["png", "jpg", "jpeg", "gif", "svg", "svgz", "webp", "pdf"]
}
(Some("csv"), "source") => &["csv"],
(Some("plugin"), "source") => &["wasm"],

View File

@ -264,6 +264,7 @@ impl<'s> SmartQuotes<'s> {
"he" => ("", "", "", ""),
"hr" => ("", "", "", ""),
"bg" => ("", "", "", ""),
"ar" if !alternative => ("", "", "«", "»"),
_ if lang.dir() == Dir::RTL => ("", "", "", ""),
_ => default,
};

Binary file not shown.

Before

Width:  |  Height:  |  Size: 959 B

After

Width:  |  Height:  |  Size: 969 B