Mark aka walkingdevel

Results 10 issues of Mark aka walkingdevel

Feature for preventing XSS attacks and running malicious JavaScript code in Markdown files. Yep, it is parsing HTML via regular expressions, but it is a temporary solution. In the future,...

### Describe the bug After #17205, I thought about what if I add more parenthesis and got this bug. ```v _ := ((print(10))) ``` ### Expected Behavior ``` test.v:1:3: error:...

Bug

### Describe the bug ```v module main struct ParExpr { expr Expr } struct InfixExpr { left Expr right Expr } type Expr = InfixExpr | ParExpr fn print_expr(expr &Expr)...

Bug

This is the first PR from a series of breaking changes for `V ORM`, which makes it more consistent in working with types. Before this PR, `V ORM` didn't allow...

### Describe the bug https://play.vlang.io/?query=796425803d ```v struct NotFoundError { Error } fn get_username() !string { return NotFoundError{} } fn print_username() ! { username := get_username() or { if err is...

Bug
Unit: Type System

### Describe the bug V can't narrow sum type to the `Planet` in the if condition. Works only inside a block. ```v struct Mars {} struct Earth { population i64...

Bug
Unit: Type System

![repos](https://user-images.githubusercontent.com/104449470/198873713-0485176f-cd0c-4b60-bf2d-69ebd1670982.png)