Skip to content
This repository was archived by the owner on Jan 29, 2020. It is now read-only.

Commit fc761d6

Browse files
committed
[Docs] Fixes #62 - Check For Blockquotes In Docs
1 parent eed620c commit fc761d6

File tree

4 files changed

+11
-11
lines changed

4 files changed

+11
-11
lines changed

doc/book/zend.mvc.intro.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ The `init()` method will basically do the following:
269269
- Grabs the `ModuleManager` service and load the modules;
270270
- `bootstrap()`s the `Application` and returns its instance;
271271

272-
> ## Note
272+
> ### Note
273273
If you use the `init()` method, you cannot specify a service with the name of 'ApplicationConfig' in
274274
your service manager config. This name is reserved to hold the array from application.config.php.
275275
The following services can only be overridden from application.config.php:

doc/book/zend.mvc.plugins.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -511,7 +511,7 @@ rtype
511511
In each case, the `Response` object is returned. If you return this immediately, you can effectively
512512
short-circuit execution of the request.
513513

514-
> ## Note
514+
> ### Note
515515
This plugin requires that the controller invoking it implements `InjectApplicationEventInterface`,
516516
and thus has an `MvcEvent` composed, as it retrieves the router from the event object.
517517

@@ -540,6 +540,6 @@ $url = $this->url()->fromRoute('route-name', $params);
540540

541541
The `fromRoute()` method is the only public method defined, and has the following signature:
542542

543-
> ## Note
543+
> ### Note
544544
This plugin requires that the controller invoking it implements `InjectApplicationEventInterface`,
545545
and thus has an `MvcEvent` composed, as it retrieves the router from the event object.

doc/book/zend.mvc.quick-start.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ Create the directory `view/<module-name>/hello`. Inside that directory, create a
198198

199199
That's it. Save the file.
200200

201-
> ## Note
201+
> ### Note
202202
What is the method `escapeHtml()`? It's actually a \[view helper\](zend.view.helpers), and it's
203203
designed to help mitigate *XSS* attacks. Never trust user input; if you are at all uncertain about
204204
the source of a given variable in your view script, escape it using one of the \[provided escape
@@ -237,7 +237,7 @@ Now, create the directory `view/<module>/<name>/hello`. Inside that directory, c
237237

238238
Now that we have a controller and a view script, we need to create a route to it.
239239

240-
> ## Note
240+
> ### Note
241241
`ZendSkeletonApplication` ships with a "default route" that will likely get you to this action. That
242242
route basically expects "/{module}/{controller}/{action}", which allows you to specify this:
243243
"/zend-user/hello/world". We're going to create a route here mainly for illustration purposes, as
@@ -293,7 +293,7 @@ return array(
293293
);
294294
```
295295
296-
> ## Note
296+
> ### Note
297297
We inform the application about controllers we expect to have in the application. This is to prevent
298298
somebody requesting any service the `ServiceManager` knows about in an attempt to break the
299299
application. The dispatcher uses a special, scoped container that will only pull controllers that

doc/book/zend.mvc.routing.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ and more.
1111
Routing has been written from the ground up for Zend Framework 2.0. Execution is quite similar, but
1212
the internal workings are more consistent, performant, and often simpler.
1313

14-
> ## Note
14+
> ### Note
1515
If you are a developer with knowledge of the routing system in Zend Framework 1.x, you should know
1616
that some of the old terminology does not apply in Zend Framework 2.x. In the new routing system we
1717
don't have a router as such, as every route can match and assemble URIs by themselves, which makes
@@ -314,13 +314,13 @@ The above would match the following:
314314

315315
You may use any route type as a child route of a `Part` route.
316316

317-
> ## Note
317+
> ### Note
318318
`Part` routes are not meant to be used directly. When you add definitions for `child_routes` to any
319319
route type, that route will become a `Part` route. As already said, describing `Part` routes with
320320
words is difficult, so hopefully the additional \[examples at the
321321
end\](zend.mvc.routing.http-route-types.examples) will provide further insight.
322322

323-
> ## Note
323+
> ### Note
324324
In the above example, the `$routePlugins` is an instance of `Zend\Mvc\Router\RoutePluginManager`.
325325
```php
326326
$routePlugins = new Zend\Mvc\Router\RoutePluginManager();
@@ -430,7 +430,7 @@ $route = Segment::factory(array(
430430
#### Potential security issue
431431
A misuse of this route part can lead to a potential security issue.
432432

433-
> ## Note
433+
> ### Note
434434
#### Deprecated
435435
This route part is deprecated since you can now add query parameters without a query route.
436436

@@ -494,7 +494,7 @@ The output from our example should then be "/page/my-test-page?format=rss&limit=
494494
#### Potential security issue
495495
A misuse of this route type can lead to a potential security issue.
496496

497-
> ## Note
497+
> ### Note
498498
#### Deprecated
499499
This route type is deprecated. Use the `Segment` route type.
500500

0 commit comments

Comments
 (0)