Skip to content

Commit e4db950

Browse files
committed
Address comments
1 parent 9db2c3c commit e4db950

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tutorials/content-filtering-subscription.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -111,16 +111,16 @@ options.contentFilter = {
111111
};
112112
```
113113

114-
````
115-
116114
## Troubleshooting
117115

118116
**Filter Not Working:**
117+
119118
- Check RMW compatibility (CycloneDDS not supported)
120119
- Verify parameter syntax (strings need quotes: `"'value'"`)
121120
- Test with simple expressions first
122121

123122
**Common Mistakes:**
123+
124124
```javascript
125125
// ❌ Wrong - JavaScript comparison operator
126126
{ expression: "data !== 0", parameters: [] }
@@ -133,7 +133,7 @@ options.contentFilter = {
133133

134134
// ✅ Correct - string comparison with quotes in parameter
135135
{ expression: "status = %0", parameters: ["'active'"] }
136-
````
136+
```
137137

138138
## RMW Compatibility
139139

0 commit comments

Comments
 (0)