Adrian Heine
a558473795
Use intra-doc links instead of manual links
2023-03-26 01:08:43 +01:00
Adrian Heine
46a2794a87
Rename more typed-html references
...
This also fixes the documentation links from axohtml_macros to axohtml.
2023-03-14 13:36:23 +01:00
Ashley Williams
f0673efc94
fix(types): Permission Policy, not policy
2023-01-24 18:10:04 -06:00
Sara Vieira
113fec3e99
add permissions policy
2023-01-24 15:34:50 +01:00
Sara Vieira
a9a712d915
add seo tags for twitter
2023-01-02 12:25:09 -06:00
ashley williams
03efe72dad
Merge pull request #14 from axodotdev/allow_unsafe
...
allow unsafe text in script
2022-12-23 10:54:18 -06:00
Sara Vieira
3ea02872c7
Merge branch 'main' of github.com:axodotdev/axohtml into aria-sort
2022-12-23 16:01:35 +00:00
Sara Vieira
527ab6fe15
Merge branch 'main' of github.com:axodotdev/axohtml into allow_unsafe
2022-12-23 16:00:28 +00:00
Sara Vieira
0384d4e4fb
only allow unsafe
2022-12-23 15:59:28 +00:00
ashley williams
f392e6daac
Merge pull request #10 from axodotdev/fix-data
...
Fix data attributes && add ability to have script in HTML
2022-12-23 09:31:17 -06:00
Sara Vieira
59fa2fd099
allow unsafe text in script
2022-12-22 21:34:50 +00:00
Sara Vieira
85481c23c1
type aria sort
2022-12-22 17:38:57 +00:00
Sara Vieira
a2fd84ab5e
type aria orientation
2022-12-22 17:35:41 +00:00
Sara Vieira
ae1462cdb8
fix data attrs, support scfript
2022-12-22 14:28:12 +00:00
Sara Vieira
3e2d9282f6
add support for aria
2022-12-19 19:27:48 +00:00
Sara Vieira
5a92c5994c
revert bump
2022-12-19 16:11:56 +00:00
Sara Vieira
9d8c50f4d5
add proprety in meta tags
2022-12-19 14:04:06 +00:00
Ashley Williams
73cb76a2d4
fix(doc): update example text for rustdoc
2022-12-16 09:14:31 -06:00
Ashley Williams
3c62510e12
fix(clippy): appease
2022-12-16 07:56:49 -06:00
Ashley Williams
37c410a53c
fork: remove dodrio and stdweb stuff for now
2022-12-15 17:27:58 -06:00
Ashley Williams
e5f2b5c106
style: appease clippy
2022-12-15 16:40:54 -06:00
Ashley Williams
ddc8bc12d0
fork: rename and reversion
2022-12-15 16:35:42 -06:00
Bodil Stokke
e18d328951
Bump all the deps and appease Clippy, 2022 edition.
2022-01-27 19:38:31 +00:00
Samuel El-Borai
95764776f2
Remove use of deprecated proc_macro_hack
...
This fixes the error:
"unresolved macro `$crate::proc_macro_call_dodrio!`" from the file
examples/dodrio/counter/src/lib.rs.
Quoting proc_macro_hack documentation:
> Note: As of Rust 1.45 this crate is superseded by native support for
> #[proc_macro] in expression position. Only consider using this crate
> if you care about supporting compilers between 1.31 and 1.45.
Source: https://docs.rs/proc-macro-hack/latest/proc_macro_hack/index.html
2022-01-27 18:16:32 +00:00
Samuel El-Borai
9d5f32ba9b
cargo clippy --fix -- --allow unused_braces
...
- The '--allow unused_braces' is to avoid removing the extra curly
braces used within html! macro calls.
2022-01-27 18:16:32 +00:00
Josh Stone
d95ce1a293
Use Vec to implement the Events iterators
...
Using `vec::IntoIter` is much simpler than a deeply nested `Chain`,
compiling faster and avoiding the deeper recursion limit reported in
[rust#71359](https://github.com/rust-lang/rust/issues/71359 ).
2020-04-24 16:37:26 +01:00
Mathias Svensson
0950c82294
Use `slice::iter` instead of `into_iter` to avoid future breakage
...
`an_array.into_iter()` currently just works because of the autoref
feature, which then calls `<[T] as IntoIterator>::into_iter`. But
in the future, arrays will implement `IntoIterator`, too. In order
to avoid problems in the future, the call is replaced by `iter()`
which is shorter and more explicit.
2019-11-29 14:30:35 +00:00
Bodil Stokke
d97c8fa03c
Clippy appeasement.
2019-06-28 14:45:44 +01:00
Jonathan Kingston
8c340453eb
Add Send to all output types
2019-05-28 16:30:53 +02:00
Jonathan Kingston
62dd064f79
Add Send bound. Fixes #50
2019-05-28 16:30:53 +02:00
Jonathan Kingston
1588f30353
Relax attribute escaping. Fixes #26
2019-05-28 16:06:13 +02:00
Jonathan Kingston
9c81041cac
Support expressions in text! macro
2019-05-28 16:04:19 +02:00
Jonathan Kingston
105156542e
Adding support for the ARIA role attribute
2019-05-28 16:03:12 +02:00
Bodil Stokke
5334d783f2
Use TryFrom rather than panicking From implementations to do attribute conversion.
...
Now that it's landed in stable and all.
2019-04-12 20:00:33 +01:00
Bodil Stokke
91c3d9864a
Merge pull request #39 from ckampfe/add-unsafe-text
...
add unsafe_text
2019-04-08 15:56:11 +01:00
Matthew Nicholson
2c500dc3f4
add tests for Events iterators
2019-04-01 00:46:46 -04:00
Matthew Nicholson
6f1021b4a3
implement `IntoIterator` for `Events`
2019-04-01 00:46:46 -04:00
Matthew Nicholson
d4aee284e5
add iter_mut method to events struct
2019-04-01 00:46:46 -04:00
Matthew Nicholson
b1d7f80dad
remove now unused `IntoEventHandler` trait
2019-04-01 00:46:46 -04:00
Matthew Nicholson
44436da495
use the standard `From` trait instead of `IntoEventHandler`
2019-04-01 00:46:46 -04:00
Matthew Nicholson
559359b2ff
add an iterator over all events
...
This iterator returns tuples conntaining the event name and whatever the
value is.
2019-04-01 00:46:46 -04:00
Matthew Nicholson
3edc4c3fa0
use generic events struct instead of `StringEvents`
...
This new structure is generic over any type that implents `From`/`Into`
for the type specified.
2019-03-31 02:04:30 -04:00
Clark Kampfe
4f8ce04fae
handle unsafetext match arm in stdweb
2019-03-26 22:30:14 -05:00
Clark Kampfe
7e842d9d78
add unsafe_text
2019-03-26 21:31:48 -05:00
Bodil Stokke
bf3f5a4e2a
Add missing attributes to video element.
...
Closes #32 .
2019-03-16 21:39:45 +00:00
Bodil Stokke
f628e63e63
Revert accidental de-Booling and add missing <input> attrs.
2019-03-16 20:59:14 +00:00
Bodil Stokke
e2f6fd0c08
Add in some missing types, conversions and utility methods.
2019-03-16 20:58:51 +00:00
Bodil Stokke
813121b3a7
Dodrio support with a bespoke macro.
2019-03-16 03:18:49 +00:00
Bodil Stokke
dbb4ba8738
2018 edition.
2019-03-15 23:37:20 +00:00
Bodil Stokke
eb1174ae97
Stop rustc complaining about non-camel case types.
2019-01-17 12:56:41 +00:00